Extracted Cache dependencies
This commit is contained in:
parent
40f1687972
commit
1f69282c73
4 changed files with 15 additions and 28 deletions
|
|
@ -28,7 +28,7 @@ func main() {
|
|||
GroupId: groupId,
|
||||
ConfirmationString: os.Getenv("VK_CONFIRMATION_STRING"),
|
||||
DictPath: "./assets/additional_cards.json",
|
||||
Cache: caching.GetClient(),
|
||||
Cache: caching.NewClient("redis:6379", "", time.Hour*24, 0),
|
||||
InfoFetcher: &cardsinfo.Fetcher{},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue