Skip to content

Commit

Permalink
Add None timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Jan 17, 2024
1 parent e13c125 commit 88a77fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/py/flwr/client/rest_client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def create_node() -> None:
},
data=create_node_req_bytes,
verify=verify,
timeout=None,
)

# Check status code and headers
Expand Down Expand Up @@ -185,6 +186,7 @@ def delete_node() -> None:
},
data=delete_node_req_req_bytes,
verify=verify,
timeout=None,
)

# Check status code and headers
Expand Down Expand Up @@ -225,6 +227,7 @@ def receive() -> Optional[TaskIns]:
},
data=pull_task_ins_req_bytes,
verify=verify,
timeout=None,
)

# Check status code and headers
Expand Down Expand Up @@ -303,6 +306,7 @@ def send(task_res: TaskRes) -> None:
},
data=push_task_res_request_bytes,
verify=verify,
timeout=None,
)

state[KEY_TASK_INS] = None
Expand Down

0 comments on commit 88a77fc

Please sign in to comment.