Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Fix crashes with out of memory, add logging for rust_g status and panics #9

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

semoro
Copy link

@semoro semoro commented May 14, 2021

Spawning new thread on each request can cause out of memory due to a lot of memory allocated for thread stack, which can hit at high thread counts

  • Adds logging for panics
  • Reworks jobs to use workerpool instead of spawning new thread on each sql/http request

@Bizzonium
Copy link

this PR has issue, it would throw error if there is no logs folder. Should be updated to check and create folder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants