summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-02-07 18:23:43 +0100
committerGravatar default2024-02-07 18:23:43 +0100
commit80c31a2e015e778e6929116e752fa5dce0da85f3 (patch)
treeb3c3e2bf7b1b4a6bd5d2f95cf25eb4604d99b14a
parentUpdated RELEASE_NOTES. (diff)
downloadsnac2-80c31a2e015e778e6929116e752fa5dce0da85f3.tar.gz
snac2-80c31a2e015e778e6929116e752fa5dce0da85f3.tar.xz
snac2-80c31a2e015e778e6929116e752fa5dce0da85f3.zip
Deactivated stale actors behind a compiler directive.
-rw-r--r--data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/data.c b/data.c
index 642dab4..763eca3 100644
--- a/data.c
+++ b/data.c
@@ -1533,6 +1533,7 @@ int actor_get(const char *actor, xs_dict **data)
1533 else 1533 else
1534 d = xs_free(d); 1534 d = xs_free(d);
1535 1535
1536#ifdef STALE_ACTORS
1536 xs *fn = _object_fn(actor); 1537 xs *fn = _object_fn(actor);
1537 double max_time; 1538 double max_time;
1538 1539
@@ -1547,6 +1548,7 @@ int actor_get(const char *actor, xs_dict **data)
1547 1548
1548 status = 205; /* "205: Reset Content" "110: Response Is Stale" */ 1549 status = 205; /* "205: Reset Content" "110: Response Is Stale" */
1549 } 1550 }
1551#endif /* STALE_ACTORS */
1550 1552
1551 return status; 1553 return status;
1552} 1554}