repsheet_visualizer 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39,7 +39,7 @@ class RepsheetVisualizer < Sinatra::Base
|
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
def redis_expiry
|
|
42
|
-
defined?(settings.redis_expiry) ? (settings.redis_expiry) : (24 * 60 * 60)
|
|
42
|
+
defined?(settings.redis_expiry) ? (settings.redis_expiry * 60 * 60) : (24 * 60 * 60)
|
|
43
43
|
end
|
|
44
44
|
|
|
45
45
|
# TODO: These methods should get moved out to another place
|