tangled
alpha
login
or
join now
moth11.net
/
88x31
0
fork
atom
tiny 88x31 lexicon for atproto
0
fork
atom
overview
issues
pulls
pipelines
use hours in practice
moth11.net
1 month ago
511dbb48
7120bf92
+2
-2
1 changed file
expand all
collapse all
unified
split
blobs
cleanup.go
+2
-2
blobs/cleanup.go
···
9
9
)
10
10
11
11
func Cleanup(ctx context.Context) {
12
12
-
ticker := time.NewTicker(12 * time.Second)
12
12
+
ticker := time.NewTicker(12 * time.Hour)
13
13
14
14
for {
15
15
select {
···
38
38
}
39
39
t := info.ModTime()
40
40
41
41
-
if now.Before(t.Add(12 * time.Second)) {
41
41
+
if now.Before(t.Add(12 * time.Hour)) {
42
42
continue
43
43
}
44
44
os.Remove(filepath.Join(path, info.Name()))