Commit 70271be
Move cron tick inside app server (#104)
* feat: Move cron tick to internal app server scheduler
This change integrates the cron tick logic into the app server, removing external dependencies and enabling more frequent task processing.
Co-authored-by: pierre <pierre@bazoge.com>
* Refactor: Analyze and decide on scheduler merge strategy
Co-authored-by: pierre <pierre@bazoge.com>
* Refactor: Remove external cron and use internal scheduler
Co-authored-by: pierre <pierre@bazoge.com>
* Refactor: Move cron tick inside app server, keep endpoints
Co-authored-by: pierre <pierre@bazoge.com>
* Refactor: Remove external cron, use internal scheduler
Co-authored-by: pierre <pierre@bazoge.com>
* Refactor: Update README to link to full documentation
Co-authored-by: pierre <pierre@bazoge.com>
* Refactor README to link to external documentation
Co-authored-by: pierre <pierre@bazoge.com>
* feat: Implement internal task scheduler
Removes the need for external cron jobs by integrating a task scheduler directly into the application. This improves reliability and simplifies setup.
Co-authored-by: pierre <pierre@bazoge.com>
* test: Add mock for Info logging in task handler
Co-authored-by: pierre <pierre@bazoge.com>
* Refactor: Introduce TaskExecutor interface for TaskScheduler
This change decouples the TaskScheduler from the specific TaskService implementation by introducing a TaskExecutor interface. This allows for greater flexibility and testability. Unit tests have been added to cover the new interface and scheduler behavior.
Co-authored-by: pierre <pierre@bazoge.com>
* feat: Implement internal task scheduler
Replaces external cron job with an internal background scheduler for improved performance and simplified deployment.
Co-authored-by: pierre <pierre@bazoge.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>1 parent 7c490f0 commit 70271be
File tree
14 files changed
+2785
-275
lines changed- config
- console/src
- layouts
- pages
- internal
- app
- http
- service
- plans
14 files changed
+2785
-275
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
| |||
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
22 | 36 | | |
23 | 37 | | |
24 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
| 87 | + | |
176 | 88 | | |
177 | 89 | | |
178 | 90 | | |
| |||
0 commit comments