Reduced nesting and extracted helper functions to address credo warnings. The logic remains the same: - Test environment: synchronous update - Production: async Task with sandbox support Fixes credo warnings: - Reduced function body nesting (was 3, now 2) - Extracted spawn_async_update and helper functions |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| towerops | ||
| towerops_web | ||
| towerops.ex | ||
| towerops_web.ex | ||