about summary refs log tree commit diff
path: root/ops/modules/oauth2_proxy.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-05-14T22·19+0200
committerclbot <clbot@tvl.fyi>2022-05-14T22·31+0000
commit89f25b431d9447f7c2cf9781aba10418578ec68a (patch)
treeef1bd369047a83f3030ab88f85c5c55c3f93a006 /ops/modules/oauth2_proxy.nix
parentaf31da8cfc9caee8c2cd44df5ee5c1ed3a9b3ed7 (diff)
feat(tazjin/tgsa): Expire cached telegram entries after one hour r/4074
Telegram expires certain links in messages after some (unknown) amount
of time; this commit is the first step to working around that by
providing an image URL proxy.

In order to do that, we tick two important boxes here:

1. Store an extensible data structure in the cache.
2. Expire them periodically.

Change-Id: Iba192d8b71db4493c942d1baf5680bd086f8f60b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5607
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/modules/oauth2_proxy.nix')
0 files changed, 0 insertions, 0 deletions