From a1727d31b39699e3e5220f9c2fa63b2171a7c535 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 9 May 2011 22:14:36 +0000 Subject: [PATCH] better retry behavior for non-found taqua CDR rewrites, RT#12181 --- FS/bin/freeside-cdrrewrited | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/bin/freeside-cdrrewrited b/FS/bin/freeside-cdrrewrited index ac0a1ce4f..bcbde1a39 100644 --- a/FS/bin/freeside-cdrrewrited +++ b/FS/bin/freeside-cdrrewrited @@ -106,10 +106,10 @@ while (1) { my $cantfind = "can't find primary CDR with session ". $cdr->sessionnum. ", src ". $cdr->subscriber; if ( $cdr->calldate_unix + $accountcode_giveup < time ) { - warn" ERROR: $cantfind; giving up\n"; + warn "ERROR: $cantfind; giving up\n"; push @status, 'taqua-accountcode-NOTFOUND'; $cdr->status('done'); #so it doesn't try to rate - delete $accountcode_unmatch($cdr->acctid}; #so it doesn't suck mem + delete $accountcode_unmatch{$cdr->acctid}; #so it doesn't suck mem } else { warn "WARNING: $cantfind; will keep trying\n"; $accountcode_unmatch{$cdr->acctid} = time; -- 2.11.0