mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 06:30:14 +01:00
🎨 Improve the status bar index creation information prompt https://github.com/siyuan-note/siyuan/issues/15390
This commit is contained in:
parent
c222e0d6f7
commit
2a07997ba2
2 changed files with 2 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ import (
|
||||||
func StartCron() {
|
func StartCron() {
|
||||||
go every(100*time.Millisecond, task.ExecTaskJob)
|
go every(100*time.Millisecond, task.ExecTaskJob)
|
||||||
go every(100*time.Millisecond, task.ExecAsyncTaskJob)
|
go every(100*time.Millisecond, task.ExecAsyncTaskJob)
|
||||||
go every(5*time.Second, task.StatusJob)
|
go every(7*time.Second, task.StatusJob)
|
||||||
go every(5*time.Second, model.SyncDataJob)
|
go every(5*time.Second, model.SyncDataJob)
|
||||||
go every(2*time.Hour, model.StatJob)
|
go every(2*time.Hour, model.StatJob)
|
||||||
go every(6*time.Hour, util.RefreshRhyResultJob, "RefreshRhyResultJob")
|
go every(6*time.Hour, util.RefreshRhyResultJob, "RefreshRhyResultJob")
|
||||||
|
|
|
||||||
|
|
@ -679,6 +679,7 @@ func FullReindex() {
|
||||||
func fullReindex() {
|
func fullReindex() {
|
||||||
pushSQLInsertBlocksFTSMsg = true
|
pushSQLInsertBlocksFTSMsg = true
|
||||||
defer func() {
|
defer func() {
|
||||||
|
sql.FlushQueue()
|
||||||
pushSQLInsertBlocksFTSMsg = false
|
pushSQLInsertBlocksFTSMsg = false
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue