Skip to content

Commit

Permalink
Merge pull request #1123 from AntelopeIO/no_pause_billing_timer_on_cd
Browse files Browse the repository at this point in the history
don't pause billing timer when fetching EOS VM OC's `code_descriptor`
  • Loading branch information
spoonincode authored Jan 25, 2025
2 parents b9c9df8 + 6bc0408 commit 909603c
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ struct eosvmoc_tier {
m.whitelisted = context.is_eos_vm_oc_whitelisted();
m.high_priority = m.whitelisted && context.is_applying_block();
m.write_window = context.control.is_write_window();
auto timer_pause = fc::make_scoped_exit([&](){
context.trx_context.resume_billing_timer();
});
context.trx_context.pause_billing_timer();
cd = eosvmoc->cc.get_descriptor_for_code(m, code_hash, vm_version, failure);
} catch (...) {
// swallow errors here, if EOS VM OC has gone in to the weeds we shouldn't bail: continue to try and run baseline
Expand Down

0 comments on commit 909603c

Please sign in to comment.