-
Notifications
You must be signed in to change notification settings - Fork 1
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
stop() API and also an auto-stop logic when sbot closes #36
Comments
|
@Powersource
start() automatically monitors add-member messages and will call reindexEncrypted, among other things. This is a heavy operation, and we should allow app developers to control when those operations can happen. stop() would let app developers control that.
auto-stop on sbot closing is necessary so we properly "clean up" instead of letting abrupt cancellations (which can cause either stdout/stderr warnings or may leave left overs in the filesystem, like Here's a few examples: |
@staltz thx! Is this needed in production (the github label)? |
Yeah, can label it for prod |
I mean can I remove the label? |
Hmm, I guess it can be a could. Things might work in production without this, so that makes it a could. |
No description provided.
The text was updated successfully, but these errors were encountered: