updating cycle close request feature to get approval from national dashboard instead auto from system

This commit is contained in:
Alberto-Audrix committed 2026-09-09 14:18:39 +07:00
1 parent 3a868cf1db
commit e4dbfd0252
31 files changed
+1322 -182

No files matched your search

+2 -1
View File
@@ -40,8 +40,9 @@ IOT_SYNC_LOOKBACK_MINUTES=20
IOT_SYNC_MAX_PAGES=10
IOT_FLOCK_ID_MAP={}
# Chicken counting edge vision API (counting + mortality; not gated by publish cutoff)
# Chicken counting edge vision API (counting + mortality + weight; not gated by publish cutoff)
CHICKEN_COUNTING_EDGE_BASE_URL=http://192.168.192.106:8090
CHICKEN_COUNTING_EDGE_TIMEOUT_SECONDS=30
CHICKEN_COUNTING_EDGE_COUNTING_SYNC_ENABLED=true
CHICKEN_COUNTING_EDGE_MORTALITY_SYNC_ENABLED=true
CHICKEN_COUNTING_EDGE_WEIGHT_SYNC_ENABLED=true
+1 -1
View File
@@ -4,7 +4,7 @@ PATH=/usr/local/bin:/usr/bin:/bin
# IoT panel: real-time sync every 10 minutes (not gated by 17:00 publish cutoff).
*/10 * * * * root cd /app && /usr/local/bin/python manage.py sync_iot_from_api >> /var/log/cron.log 2>&1
# Chicken counting + mortality edge sync every 10 minutes (not gated by publish cutoff).
# Chicken counting + mortality + weight edge sync every 10 minutes (not gated by publish cutoff).
*/10 * * * * root cd /app && /usr/local/bin/python manage.py sync_chicken_counting_from_edge >> /var/log/cron.log 2>&1
# Karung-web-admin: every 30s via karung_sync_loop.sh (started by entrypoint-cron.sh).