-
Notifications
You must be signed in to change notification settings - Fork 65
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
FlashStore 会写满磁盘的问题 #155
Comments
Thanks for your issue, we will fix this bug in next latest version. |
A workaround code for [email protected]: async function compact (store: FlashStore): Promise<void> {
await store.size
const db = (store as any).levelDb.db.db.db
await new Promise((resolve, reject) => {
db.compact((err: any) => {
if (err) {
return reject(err)
}
resolve()
})
})
} Run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
挂的微信号联系人(通讯录)有421人
微信号所在的群大概有100多个,每个群的群成员平均有200多个
我们的服务器的硬盘是10G,运行一段时间我们的服务器会报警,写满磁盘
The text was updated successfully, but these errors were encountered: