Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36292 98 d 10 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Reduce DB scan pressure from runaway IMEI and IRN crons

- IRN cron (updateIrnsToInvoices): fixedDelay 2s -> 5s; migration cron
has finished but keeps full-scanning 821k orders every 2s for 0 rows
(every billed order already has irnGenerated populated true/false).
- IMEI activation crons: fixedDelay 60s -> 5min across all 6 methods
(vivoImeiActivation, vivoImeiActivationTertiary, oppo, oppoTertiary,
realme, realmeTertiary). Each was scanning orders since 2021-01-01
every minute; 5min is well within activation-latency tolerance.
 
36289 98 d 11 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ hadb1 perf: add SD_CREDIT_LOCK to prevent deadlock on sd_credit_requirement, sort updatePartnerLimit by fofoId  
36269 101 d 7 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ consolidate email sent of l3 escaltion  
36260 102 d 7 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Fix: add @Transactional(NOT_SUPPORTED) on Vivo methods to suspend ScheduledTasks outer transaction  
36254 103 d 13 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add stdout error handling for --genDNs CLI arg — logs go to log4j which has no appender in CLI mode, so exceptions were silently swallowed. Now prints to stderr for debugging.  
36253 103 d 13 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Separate secondary/tertiary IMEI activation crons for Vivo/Oppo/Realme, perf fixes: shared saveActivation, Response leak fixes, /tmp cleanup, OpenCV static init, early break, remove class-level @Transactional from StandAlone  
36251 103 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Sender-type-aware mail cleanup: 6 months for SendGrid/Relay, 1 month for Google SMTP  
36248 103 d 16 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add gmailRelaySender bean for Google Workspace SMTP Relay  
36237 105 d 8 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/knowlarity/ changeList  
36220 107 d 11 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Cron: add --genDNs CLI arg for monthly debit note generation. Use SDCreditServiceImpl.computeInterestStartDate for daily interest accrual (single source of truth, fixes off-by-one that delayed accrual by 1 day).  
36216 108 d 4 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Added Motorola Brand and some email in bi report  
36197 109 d 4 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --recoverCreditNote and --resendCNReport CLI args for credit note recovery and report resend  
36193 109 d 6 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ Added Motorola Brand and some email in bi report  
36188 111 d 8 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Revert rerenderCNs CLI option - downloadCN already re-renders on the fly  
36187 111 d 9 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --rerenderCNs CLI option to re-generate old CN PDFs with new format  
36159 113 d 7 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/knowlarity/ code for socket snapshot  
36139 114 d 4 h ranu /trunk/ code for socket snapshot  
36118 115 d 5 h ranu /trunk/ code for socket snapshot  
36115 115 d 5 h ranu /trunk/ rbm rating consolidate mail  
36113 115 d 7 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ rbm rating consolidate mail  

Show All