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

Liblokinet cherrypick #1

Merged
merged 3 commits into from
Apr 28, 2023
Merged

Liblokinet cherrypick #1

merged 3 commits into from
Apr 28, 2023

Conversation

dr7ana
Copy link
Owner

@dr7ana dr7ana commented Apr 28, 2023

majestrate and others added 3 commits April 28, 2023 09:07
In commit a76acd4 we attempted to fix
issues on service nodes that related to spamming service nodes with
traffc, but this caused a regression where clients could not connect
to the network.

However, we also did something idiotic with the protocol handshake.
The handshake logic was modified and caused client connections to
fail. This was due to a change in how we decided what a timed out
session is. We redo the close bug and revert the change to the
protocol handshake.

(cherry picked from commit b0b6e2b)
when we queue cpu heavy work in lokinet to worker threads we make 1
job per function call. we call a lot of jobs so this coleases the jobs
into 1 job that we push off at the end of the event loop cycle,
reducing the number of jobs going across the omq proxy thread, in
theory reducing cpu usage.

(cherry picked from commit bbbb07d)
@dr7ana dr7ana merged commit a288917 into liblokinet-dev Apr 28, 2023
@dr7ana dr7ana deleted the liblokinet-cherrypick branch April 28, 2023 16:16
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