Andras Bacsai
0efa4af5c3
Optimize PushServerUpdateJob performance with batch updates and async jobs
...
- Eager load service applications and databases to eliminate N+1 queries
- Replace individual model updates with batch database updates for applications, previews, and services
- Move connectProxyToNetworks to async ConnectProxyToNetworksJob to avoid blocking status updates
- Optimize Server.databases() and applications() methods with efficient database queries
- Use flatMap for cleaner collection transformations
🤖 Generated with Claude Code
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2025-12-15 14:06:32 +01:00
Andras Bacsai
24688b2ad8
fix(jobs): update middleware to use expireAfter for WithoutOverlapping in multiple job classes
2025-07-01 10:50:27 +02:00
Andras Bacsai
f9a0ca2ca6
refactor(proxy): update StartProxy calls to use named parameter for async option
2025-06-16 13:13:01 +02:00
Andras Bacsai
9883cef26d
refactor(jobs): update middleware to include job-specific identifiers for WithoutOverlapping
2025-05-29 17:31:43 +02:00
Andras Bacsai
c6278a06ba
refactor(jobs): unify middleware configuration to prevent job release after expiration for DockerCleanupJob and PushServerUpdateJob
2025-05-07 14:42:42 +02:00
Andras Bacsai
f9faf3e40f
refactor(jobs): update middleware to prevent job release after expiration for CleanupInstanceStuffsJob, RestartProxyJob, and ServerCheckJob
2025-04-30 23:37:29 +02:00
Andras Bacsai
b78f2cccff
refactor(jobs): update WithoutOverlapping middleware to use expireAfter for better queue management
2025-04-18 09:52:32 +02:00
Andras Bacsai
1fe4dd722b
Revert "rector: arrrrr"
...
This reverts commit 16c0cd10d8 .
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8
rector: arrrrr
2025-01-07 14:52:08 +01:00
peaklabs-dev
1da3febd85
fix: remove duplicated ServerCheckJob call
2024-12-16 14:04:22 +01:00
Andras Bacsai
dabda4e806
fix: Email should be retried with backoff
2024-11-26 10:19:05 +01:00
Andras Bacsai
7dc65dfd79
fix: make sure important jobs/actions are running on high prio queue
2024-11-22 11:16:01 +01:00
Andras Bacsai
8a917f6a4e
fix: invalid tz should not prevent other jobs to be executed
2024-11-14 10:56:56 +01:00
Andras Bacsai
275edb6c1f
put a few things on high queue
2024-11-06 12:33:56 +01:00
Andras Bacsai
f3c35c7acc
fix: do not overlap servercheckjob
2024-11-05 13:59:13 +01:00
Andras Bacsai
ed03cd33b0
fix: only run server storage every 10 mins if sentinel is not active
2024-11-03 09:10:36 +01:00
Andras Bacsai
0c77a826c3
Refactor ServerCheckJob to remove unused properties and improve performance
2024-11-02 12:38:38 +01:00
Lucas Michot
8e1444eaa7
Get rid of many useless blank lines
2024-10-31 17:44:01 +01:00
Andras Bacsai
96ca72fcdb
refactor server view (phuuu)
2024-10-30 20:03:30 +01:00
Lucas Michot
d557a22b91
Remove all ray() calls
2024-10-28 13:51:23 +01:00
Andras Bacsai
8c96ab52d7
feat: notification rate limiter
...
fix: limit server up / down notification limits
2024-10-25 15:13:23 +02:00
Andras Bacsai
fb75741aa8
add sentinel check to servercheckjob
2024-10-25 12:02:41 +02:00
Andras Bacsai
ac768e5313
feat: limit storage check emails
...
feat: sentinel should send storage usage
2024-10-22 14:01:36 +02:00
Andras Bacsai
5c93780304
remove unnecessary code
2024-10-22 12:01:46 +02:00
peaklabs-dev
8635f92ed4
Remove duplicated proxy check
2024-10-14 21:35:38 +02:00
Andras Bacsai
dedf2cf87b
fix: proxy fixes
2024-09-27 15:36:51 +02:00
Andras Bacsai
57d8930f9e
chore: Update cleanup command to use Redis instead of queue
2024-09-23 23:48:12 +02:00
peaklabs-dev
ea3501ada6
Fix: SSH Multiplexing for Jobs
2024-09-17 15:31:05 +02:00
peaklabs-dev
144508218e
Fix: SSH multiplexing
2024-09-17 12:26:11 +02:00
Andras Bacsai
5d476e3924
chore: Update server check job middleware to use server ID instead of UUID
2024-09-11 14:23:19 +02:00
Andras Bacsai
40347744e0
chore: Set timeout for ServerCheckJob to 60 seconds
2024-09-09 09:08:43 +02:00
Andras Bacsai
060988d923
fix: reenable overlapping servercheckjob
2024-09-09 09:05:40 +02:00
Vahor
bf475e538c
don't check logDrain installation if it's not enabled
2024-08-30 17:29:25 +02:00
ayntk-ai
365f957b8a
remove duplicated sentinel pull job
2024-08-12 12:43:06 +02:00
Andras Bacsai
2e06acf653
servercheckjob should not overlap
2024-08-08 14:02:21 +02:00
Andras Bacsai
d3b3c2f7fd
fix: Add missing middleware for server check job
2024-08-08 10:28:34 +02:00
Andras Bacsai
e3c7c615c6
refactor: Cleanup unnecessary dynamic proxy configuration in Init command
2024-08-06 10:53:13 +02:00
Andras Bacsai
c5de1a25c3
refactor: Remove unnecessary debug statement in ServerCheckJob
2024-08-06 09:45:48 +02:00
Andras Bacsai
ddb4b4d215
refactor: Simplify log drain installation in ServerCheckJob
2024-08-05 16:45:30 +02:00
Andras Bacsai
2725a93bfd
fix: only run logdrain if necessary
2024-08-05 16:44:50 +02:00
Andras Bacsai
e4b92bb660
feat: new server checking job
...
feat: show if the server has problems on ui
2024-08-05 15:48:15 +02:00
Andras Bacsai
3dedf5548f
feat: new server check job
2024-07-25 20:30:22 +02:00