mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: move tags from property to payload (#4229)
* refactor: move tags from property to payload * chore: fix tests * chore: drop memo tags * chore: update --------- Co-authored-by: Steven <stevenlgtm@gmail.com>
This commit is contained in:
@ -22,7 +22,7 @@ import (
|
||||
apiv1 "github.com/usememos/memos/server/router/api/v1"
|
||||
"github.com/usememos/memos/server/router/frontend"
|
||||
"github.com/usememos/memos/server/router/rss"
|
||||
"github.com/usememos/memos/server/runner/memoproperty"
|
||||
"github.com/usememos/memos/server/runner/memopayload"
|
||||
"github.com/usememos/memos/server/runner/s3presign"
|
||||
"github.com/usememos/memos/server/runner/version"
|
||||
"github.com/usememos/memos/store"
|
||||
@ -146,12 +146,12 @@ func (s *Server) StartBackgroundRunners(ctx context.Context) {
|
||||
s3presignRunner.RunOnce(ctx)
|
||||
versionRunner := version.NewRunner(s.Store, s.Profile)
|
||||
versionRunner.RunOnce(ctx)
|
||||
memopropertyRunner := memoproperty.NewRunner(s.Store)
|
||||
memopropertyRunner.RunOnce(ctx)
|
||||
memopayloadRunner := memopayload.NewRunner(s.Store)
|
||||
memopayloadRunner.RunOnce(ctx)
|
||||
|
||||
go s3presignRunner.Run(ctx)
|
||||
go versionRunner.Run(ctx)
|
||||
go memopropertyRunner.Run(ctx)
|
||||
go memopayloadRunner.Run(ctx)
|
||||
}
|
||||
|
||||
func (s *Server) getOrUpsertWorkspaceBasicSetting(ctx context.Context) (*storepb.WorkspaceBasicSetting, error) {
|
||||
|
Reference in New Issue
Block a user