lock table for tax district updates, #73185
[freeside.git] / FS / FS / Cron / tax_rate_update.pm
index 2c021b8..b6ac63c 100755 (executable)
@@ -40,6 +40,7 @@ sub tax_rate_update {
 
   my $taxname = $conf->config('tax_district_taxname') || '';
 
+  FS::cust_main_county->lock_table;
   if ($method eq 'wa_sales') {
     # download the update file
     my $now = DateTime->now;