diff options
author | levinse <levinse> | 2011-06-10 00:30:55 +0000 |
---|---|---|
committer | levinse <levinse> | 2011-06-10 00:30:55 +0000 |
commit | d1f17f49d35f5ab9b4fd7d9e13e3b1936a31fbc5 (patch) | |
tree | b0a2a87d3c68f5f47906576c9e812ff1de9db841 /bin | |
parent | 767f78ad3481ebc13ab265bbe48a322c712b76ac (diff) |
DID inventory/import / bulk DID orders - phase 2, RT12754
Diffstat (limited to 'bin')
-rw-r--r-- | bin/import-did-inventory | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/import-did-inventory b/bin/import-did-inventory index 612217863..d2086a5f3 100644 --- a/bin/import-did-inventory +++ b/bin/import-did-inventory @@ -363,7 +363,7 @@ sub order { fatal("customer mismatch for vendor order #$vendor_order_id") unless ( ($o->custnum && $cust{'custnum'} && ($o->custnum == $cust{'custnum'} - || $vendor_order_id eq '293745') + || $vendor_order_id eq '293745' || $vendor_order_id eq '300001') ) || (!$o->custnum && !exists($cust{'custnum'})) @@ -400,11 +400,10 @@ sub provision { phonenum => $did, }); - # XXX: THIS LINE CAUSES PERFORMANCE TO DEGRADE AND THE SCRIPT NEVER FINISHES! WHY!? + # XXX: THIS LINE CAUSES PERFORMANCE TO DEGRADE # -unattaching the exports has no effect # -after each successive call, the time taken to complete 100 rows becomes greater # -commenting out this call results in a constant time taken to complete 100 rows - # -after 10K rows we get a random error that makes no sense my $error = $svc_phone->insert; fatal("can't insert svc_phone: $error") if $error; |