cf_light_api 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cf_light_api/worker.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: caf63878642e8b0a564e669e7c92e2557f6b176a
|
4
|
+
data.tar.gz: aa132d2af25f58a4d39eeac93404380ad7761208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f88f36e9fc5575de9aecf6b8b9e196c6a3b93f23ec6a83efb2ff9d21cae80582c491d7d3811fe936d8d701d03eebe3819ce4f9ec88d1642403255f5607f6a72a
|
7
|
+
data.tar.gz: 8d58cf35ac62c4f2b794c6db4117122cb4703bf6b0788dfafef39e050114f08917b56269564b397136c4cdd2ba076c9d8e406021c81791a4ae28ab22be572cd8
|
data/lib/cf_light_api/worker.rb
CHANGED
@@ -35,6 +35,7 @@ scheduler.every '5m', :first_in => '5s', :overlap => false, :timeout => '5m' do
|
|
35
35
|
|
36
36
|
put_in_redis "#{ENV['REDIS_KEY_PREFIX']}:orgs", org_data
|
37
37
|
put_in_redis "#{ENV['REDIS_KEY_PREFIX']}:apps", app_data
|
38
|
+
put_in_redis "#{ENV['REDIS_KEY_PREFIX']}:last_updated", Time.now
|
38
39
|
|
39
40
|
@logger.info "Update completed in #{format_duration(Time.now.to_f - start_time.to_f)}..."
|
40
41
|
lock_manager.unlock(lock)
|