gotosocial/internal/timeline
kim e58d2d8122
[chore] move caches to a separate State{} structure (#1078)
* move caches to a separate State{} structure

Signed-off-by: kim <grufwub@gmail.com>

* fix call to log.Panic not using formatted call

Signed-off-by: kim <grufwub@gmail.com>

* move caches to use interfaces, to make switchouts easier in future

Signed-off-by: kim <grufwub@gmail.com>

* fix rebase issue

Signed-off-by: kim <grufwub@gmail.com>

* improve code comment

Signed-off-by: kim <grufwub@gmail.com>

* fix further issues after rebase

Signed-off-by: kim <grufwub@gmail.com>

* heh

Signed-off-by: kim <grufwub@gmail.com>

* add missing license text

Signed-off-by: kim <grufwub@gmail.com>

Signed-off-by: kim <grufwub@gmail.com>
2022-12-08 18:35:14 +01:00
..
get.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
get_test.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
index.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
index_test.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
indexeditems.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
manager.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
manager_test.go [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
preparable.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
prepare.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
prepareditems.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
prune.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
prune_test.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
remove.go [feature] Prune timelines once per hour to plug memory leak (#1117) 2022-11-22 18:38:10 +00:00
timeline.go [chore] move caches to a separate State{} structure (#1078) 2022-12-08 18:35:14 +01:00
timeline_test.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00
timelineable.go [feature] Rework timeline code to make it useful for more than just statuses (#373) 2022-02-05 12:47:38 +01:00