Skip to content

Fix connection load#60

Open
JoukoVirtanen wants to merge 7 commits into
mainfrom
jv-fix-connection-load
Open

Fix connection load#60
JoukoVirtanen wants to merge 7 commits into
mainfrom
jv-fix-connection-load

Conversation

@JoukoVirtanen
Copy link
Copy Markdown
Contributor

Previously the connection load pods would sometimes crash. There are two fixes here. The first is a sleep between starting the server and client in the init.sh script, to reduce the chances of a race condition leading to a crash. The second is that if connection load attempts to use a port already in use it sleeps for 1 second before retrying, instead of immediately crashing. It retries up to 30 times. This will be especially useful when berserker has multiple workers at the same time opening and closing ports.

@JoukoVirtanen JoukoVirtanen requested a review from Stringy June 4, 2026 17:15
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 4, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 6d26b9d8-5998-48d7-bc65-d696b0f82103

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jv-fix-connection-load

Comment @coderabbitai help to get the list of available commands and usage tips.

@JoukoVirtanen JoukoVirtanen requested a review from Molter73 June 4, 2026 17:16
@JoukoVirtanen JoukoVirtanen changed the base branch from main to jv-fix-memory-leak June 4, 2026 17:16
Copy link
Copy Markdown
Contributor

@Molter73 Molter73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good overall, but there are a few comments that I would like addressed.

Comment thread src/worker/network.rs Outdated
Comment thread src/worker/network.rs Outdated
Comment thread src/worker/network.rs Outdated
Comment thread src/worker/network.rs Outdated
@JoukoVirtanen JoukoVirtanen force-pushed the jv-fix-connection-load branch from d898af9 to 063b439 Compare June 6, 2026 04:18
@JoukoVirtanen JoukoVirtanen changed the base branch from jv-fix-memory-leak to main June 6, 2026 16:34
@JoukoVirtanen JoukoVirtanen requested a review from Molter73 June 6, 2026 17:29
Copy link
Copy Markdown
Contributor

@Molter73 Molter73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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.

2 participants