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

Documentation Suggestions #71

Closed
2 of 6 tasks
shikokuchuo opened this issue May 5, 2023 · 1 comment
Closed
2 of 6 tasks

Documentation Suggestions #71

shikokuchuo opened this issue May 5, 2023 · 1 comment

Comments

@shikokuchuo
Copy link
Contributor

Prework

Description

On the docs, a couple of things I came across re. mirai:

#' See the `timerlaunch` argument of `mirai::server()`.

The argument name is 'timerstart'.

#' to finish sending large data (in case an exit signal is received).

Suggest: (when a worker exits after reaching a timeout or having completed a certain number of tasks)
As (i) there is no exit signal and (ii) if for example daemons(0) closes the socket on the client side, the exit is immediate with no linger.

  1. The current default for seconds_exit of 0.1 is quite low and could be problematic for sending/receiving large objects. The default in mirai has been 1000 ms = 1L for the past couple of builds. I'd assume this might only be an issue re. autoscaling, but I'd take the performance hit for the extra safety.
@wlandau
Copy link
Owner

wlandau commented May 5, 2023

Thanks for explaining, and especially for catching the low default for seconds_exit. Should all be fixed now. With the new seconds_exit, I am going to retest for hanging just in case it helped that particular issue.

@wlandau wlandau closed this as completed May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants