Skip to content

Commit 2cd2e7b

Browse files
authored
fix(db): remove unused CBX/PDF cache cleanup cron entries (#2402)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
1 parent eb57af8 commit 2cd2e7b

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

booklore-api/src/main/java/com/adityachandel/booklore/task/TaskType.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
import lombok.Getter;
44

55
public enum TaskType {
6-
7-
CLEAR_PDF_CACHE(
8-
false,
9-
false,
10-
true,
11-
false,
12-
"Clear PDF Cache",
13-
"Clears temporarily generated images used by the streaming PDF reader."
14-
),
156
REFRESH_LIBRARY_METADATA(
167
false,
178
true,
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
DELETE FROM task_cron_configuration WHERE task_type = 'CLEAR_CBX_CACHE';
2+
DELETE FROM task_cron_configuration WHERE task_type = 'CLEAR_PDF_CACHE';

0 commit comments

Comments
 (0)