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

allow fine-grained setting of message timers #60

Merged
merged 3 commits into from
Jan 24, 2023
Merged

Conversation

spencersevilla
Copy link
Collaborator

Right now the timeout/retransmit values for almost all messages (GTP, PFCP, SBI, Diameter) are set to message.duration (default value 10sec). Having all these timers set to the same value can create weird race-conditions when something times out; to this point the 3GPP specifically recommends fine-tuning these parameters to appropriate values. For example, mme->sgwc GTPv2 messages should naturally have a longer timeout than sgwc->smf GTPv2 messages or sgwc->sgwu PFCP messages. This PR addresses this limitation by breaking up message.duration into sub-parameters (gtp_duration, sbi_duration, pfcp_duration), each of which is individually configurable.

@spencersevilla spencersevilla merged commit 80c1cf8 into dev Jan 24, 2023
@spencersevilla spencersevilla deleted the message_durations branch January 24, 2023 18:04
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