Correct initialization of antireplay cache

This commit is contained in:
9seconds
2019-09-13 10:14:48 +03:00
parent b280f47731
commit 029245cd16
2 changed files with 5 additions and 10 deletions
+1 -3
View File
@@ -60,9 +60,7 @@ func Proxy() error {
PrintJSONStdout(config.GetURLs())
if err := antireplay.Init(); err != nil {
Fatal(err)
}
antireplay.Init()
if err := stats.Init(ctx); err != nil {
Fatal(err)
}