chore: build
Frontend Admin - EAS Build / build (push) Canceled after 0s
Frontend Client - EAS Build / build (push) Canceled after 0s
Backend - Build & Lint / build (push) Failing after 25m18s
Frontend Web - Build & Lint / build (push) Failing after 9m58s

This commit is contained in:
Xor290
2026-08-06 12:06:05 +02:00
parent c034088bee
commit 22a8d5026c
174 changed files with 30315 additions and 16120 deletions
@@ -7,16 +7,6 @@ import (
"time"
)
func StartPaymentChecker(database *db.Database, np *services.NowPaymentsClient, interval time.Duration) {
go func() {
for {
time.Sleep(interval)
checkPendingCryptoPayments(database, np)
}
}()
log.Printf("[CRON] payment checker démarré (toutes les %s)", interval)
}
// StartDynamicPaymentChecker démarre un checker qui recharge le client NowPayments à chaque tick
// (permet de prendre en compte les changements de clé API sans redémarrer)
func StartDynamicPaymentChecker(database *db.Database, clientFn func() *services.NowPaymentsClient, interval time.Duration) {