QUIK МНП: новый получатель M2M — повтор регистрации вывода (3×30 с), пока модуль не подхватит справочник; имя получателя из справочника НРД; опрос ЛК — до 4 мин на проход

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014FsEKyJrYF69Cj9ZXzFLRi
This commit is contained in:
zuevav
2026-09-29 13:29:25 +03:00
parent b0de7f2979
commit 7a84dd6d5b
3 changed files with 63 additions and 5 deletions
+2 -1
View File
@@ -279,7 +279,8 @@ func (s *Server) pollLKClaims(ctx context.Context) {
if !moduleAllowed(s.rc, "esia-finance") {
continue // ЕСИА Финанс — отдельный модуль лицензии
}
cctx, cancel := context.WithTimeout(ctx, 50*time.Second)
// до 4 мин: блокировка в QUIK МНП может ждать, пока модуль подхватит нового получателя
cctx, cancel := context.WithTimeout(ctx, 4*time.Minute)
res, err := PullLKClaims(cctx, s.rc, s.svc)
cancel()
if err != nil {