Stage 1 of caching layer. Framework (#6693)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
28bf900205
Коммит
9659a6da06
@@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
type SqlWebhookStore struct {
|
||||
*SqlStore
|
||||
SqlStore
|
||||
}
|
||||
|
||||
const (
|
||||
@@ -28,7 +28,7 @@ func ClearWebhookCaches() {
|
||||
webhookCache.Purge()
|
||||
}
|
||||
|
||||
func NewSqlWebhookStore(sqlStore *SqlStore) WebhookStore {
|
||||
func NewSqlWebhookStore(sqlStore SqlStore) WebhookStore {
|
||||
s := &SqlWebhookStore{sqlStore}
|
||||
|
||||
for _, db := range sqlStore.GetAllConns() {
|
||||
|
||||
Ссылка в новой задаче
Block a user