Skip to content

Commit

Permalink
chore: cache time
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Dec 5, 2023
1 parent f0ebbf3 commit b656473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/avo/licensing/h_q.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class HQ

ENDPOINT = "https://avohq.io/api/v1/licenses/check".freeze unless const_defined?(:ENDPOINT)
REQUEST_TIMEOUT = 5 unless const_defined?(:REQUEST_TIMEOUT) # seconds
CACHE_TIME = 3600 unless const_defined?(:CACHE_TIME) # seconds
CACHE_TIME = 3600*12 unless const_defined?(:CACHE_TIME) # seconds

class << self
def cache_key
Expand Down

0 comments on commit b656473

Please sign in to comment.