Skip to content

Commit

Permalink
chore: limit ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
matthv committed Dec 4, 2024
1 parent 01f6bb4 commit ec979b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/forest_liana/scope_manager.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ForestLiana
class ScopeManager
# 5 minutes expiration cache
@@scope_cache_expiration_delta = 10
@@scope_cache_expiration_delta = 300

def self.apply_scopes_on_records(records, user, collection_name, timezone)
scope_filters = get_scope(collection_name, user)
Expand Down

0 comments on commit ec979b5

Please sign in to comment.