Skip to content

Commit

Permalink
Remove now pointless domain update ttl limit
Browse files Browse the repository at this point in the history
Service and domain lifetime should now be independent.

As noted here:
#81 (comment)
  • Loading branch information
nigoroll committed Jul 14, 2023
1 parent 3605005 commit 2d51da7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/vmod_dynamic_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -588,12 +588,6 @@ service_lookup_thread(void *priv)
update += 0.01;
if (srv->deadline < update)
srv->deadline = update;
// maximum update delay
if (obj->domain_usage_tmo > 0) {
update += obj->domain_usage_tmo / 2;
if (srv->deadline > update)
srv->deadline = update;
}
} else {
LOG(&ctx, SLT_Error, srv, "%s %d (%s)",
res->name, ret, res->strerror(ret));
Expand Down

0 comments on commit 2d51da7

Please sign in to comment.