Skip to content

fix: Per message setting of response time limit#72

Open
rustybee42 wants to merge 1 commit into
mainfrom
rb/receive-time-limit
Open

fix: Per message setting of response time limit#72
rustybee42 wants to merge 1 commit into
mainfrom
rb/receive-time-limit

Conversation

@rustybee42

Copy link
Copy Markdown
Collaborator

Add a new associated const to the Msg trait that defines how long to wait for this message when receiving it as a response.

To achieve this, make the timeout setting for stream writes and reads a function argument and pass the message specific time limit (default: 2s).

For GetQuotaInfoResp, set this to 40m. This should fix running into timeouts while fetching quota if the storage server needs a long time to process the request.

Closes https://github.com/ThinkParQ/beegfs-core/issues/4618

@rustybee42 rustybee42 self-assigned this Jun 2, 2026
@rustybee42 rustybee42 requested a review from a team as a code owner June 2, 2026 10:37
@rustybee42 rustybee42 force-pushed the rb/receive-time-limit branch from a8caaef to c2b2dd0 Compare June 2, 2026 11:00
Add a new associated const to the Msg trait that defines how long to
wait for this message when receiving it as a response.

To achieve this, make the timeout setting for stream writes and reads a
function argument and pass the message specific time limit (default:
2s).

For GetQuotaInfoResp, set this to 40m. This should fix running into
timeouts while fetching quota if the storage server needs a long time to
process the request.
@rustybee42 rustybee42 force-pushed the rb/receive-time-limit branch from c2b2dd0 to 437356a Compare June 8, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant