Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix routing through relay, default network RPS, --token, logging, readme #399

Merged
merged 10 commits into from
Jul 22, 2023
Prev Previous commit
Increase default expiration
  • Loading branch information
borzunov committed Jul 22, 2023
commit 3d7bfce908f0eb0e3a27b1372622571c3a91656a
2 changes: 1 addition & 1 deletion src/petals/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def __init__(
self.dht_prefix = dht_prefix

if expiration is None:
expiration = max(2 * update_period, MAX_DHT_TIME_DISCREPANCY_SECONDS)
expiration = max(3 * update_period, MAX_DHT_TIME_DISCREPANCY_SECONDS)
self.expiration = expiration

self.request_timeout = request_timeout
Expand Down
Loading