mmmm giving out security info wasnt great so rotate bank passwords
Some checks failed
cicd / ci (push) Failing after 15s
Some checks failed
cicd / ci (push) Failing after 15s
This commit is contained in:
2
src/bank/cache/cache.go
vendored
2
src/bank/cache/cache.go
vendored
@@ -90,7 +90,7 @@ func fromCache(k string, ptr interface{}) error {
|
|||||||
p := path.Join(d, k)
|
p := path.Join(d, k)
|
||||||
if stat, err := os.Stat(p); err != nil {
|
if stat, err := os.Stat(p); err != nil {
|
||||||
return err
|
return err
|
||||||
} else if time.Since(stat.ModTime()) > time.Hour {
|
} else if time.Since(stat.ModTime()) > 24*time.Hour {
|
||||||
return fmt.Errorf("stale")
|
return fmt.Errorf("stale")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
token_2utqstwpn3pxwgvyno56hqdehq
|
token_2utqstwpn3pxwgvyno56hqdehq
|
||||||
token_vr6dnzvfv7c24wuxtmnnzyiqbm
|
token_vr6dnzvfv7c24wuxtmnnzyiqbm
|
||||||
token_r4pbocuwhxoorjiag67rq4zen4
|
|
||||||
|
|||||||
Reference in New Issue
Block a user