diff options
| author | 2024-02-07 18:23:43 +0100 | |
|---|---|---|
| committer | 2024-02-07 18:23:43 +0100 | |
| commit | 80c31a2e015e778e6929116e752fa5dce0da85f3 (patch) | |
| tree | b3c3e2bf7b1b4a6bd5d2f95cf25eb4604d99b14a | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-80c31a2e015e778e6929116e752fa5dce0da85f3.tar.gz snac2-80c31a2e015e778e6929116e752fa5dce0da85f3.tar.xz snac2-80c31a2e015e778e6929116e752fa5dce0da85f3.zip | |
Deactivated stale actors behind a compiler directive.
| -rw-r--r-- | data.c | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -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 | } |