diff options
| author | default <nobody@localhost> | 2025-01-10 06:47:58 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-10 06:47:58 +0100 |
| commit | aab32743c150a62648cd620da05d4388747c6253 (patch) | |
| tree | 137f2bcf7ff8705b6c01d4f5d06d5c718aef8038 | |
| parent | 131fbc105a9b82988869fe84c03f2e0b0135e168 (diff) | |
Actor caching lowered to 3 hours.
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index 77d8e34..ecc0533 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1199,7 +1199,7 @@ xs_dict *msg_actor(snac *snac) int n; /* everybody loves some caching */ - if (time(NULL) - object_mtime(snac->actor) < 6 * 3600 && + if (time(NULL) - object_mtime(snac->actor) < 3 * 3600 && valid_status(object_get(snac->actor, &msg))) { snac_debug(snac, 2, xs_fmt("Returning cached actor %s", snac->actor)); |