Deactivated stale actors behind a compiler directive.

This commit is contained in:
default 2024-02-07 18:23:43 +01:00
parent 45338776e9
commit 80c31a2e01

2
data.c
View file

@ -1533,6 +1533,7 @@ int actor_get(const char *actor, xs_dict **data)
else
d = xs_free(d);
#ifdef STALE_ACTORS
xs *fn = _object_fn(actor);
double max_time;
@ -1547,6 +1548,7 @@ int actor_get(const char *actor, xs_dict **data)
status = 205; /* "205: Reset Content" "110: Response Is Stale" */
}
#endif /* STALE_ACTORS */
return status;
}