Background Processes
Background Processes
Some API operations trigger background processes on the server.
Backups
Creating a backup runs asynchronously:
- API call
POST /api/backup/create - Server responds immediately with status
started - Backup runs in the background
- Status queryable via
GET /api/backup/status
{
"success": true,
"data": {
"status": "in_progress",
"progress": 45,
"started_at": "2025-01-15T14:30:00Z"
}
}
World Operations
World saving (POST /api/world/save) is also performed asynchronously to avoid blocking the main thread.
TPS Calculation
TPS (Ticks Per Second) are recalculated and cached in the background every 5 seconds.