mirror of
https://github.com/langgenius/dify-plugin-daemon.git
synced 2026-07-22 01:35:24 -04:00
13 lines
387 B
Go
13 lines
387 B
Go
package persistence
|
|
|
|
// Sync sync the cache to storage
|
|
// NOTE: this method is not used currently, for now, we assume that
|
|
// the effective is fast enough, but maybe someday we need to use the cache
|
|
// func (p *Persistence) Sync() error {
|
|
// // sync cache to storage
|
|
// cache.ScanKeysAsync(fmt.Sprintf("%s:*", CACHE_KEY_PREFIX), func(keys []string) error {
|
|
// })
|
|
|
|
// return nil
|
|
// }
|