Skip to content

Commit

Permalink
feat: update cache to 10 min
Browse files Browse the repository at this point in the history
  • Loading branch information
motorina0 committed Sep 20, 2024
1 parent d1bfe8d commit 641273c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async def api_get_nostr_json(
"relays": {address.pubkey: address.config.relays},
}

cache.set(f"{domain_id}/{name}", nip5, 60)
cache.set(f"{domain_id}/{name}", nip5, 600)

return nip5

Expand Down

0 comments on commit 641273c

Please sign in to comment.