bkolobara opened issue #3046:
I'm using the out_of_fuel_async_yield method on the
Store
to configure yielding back after around 10k instructions. I would like to allow the async call to run forever, but if I setinjection_count
to the maximum valueu32::MAX
of re-injections this gives me around4*10^13
instructions in total. On a 4 Ghz processor I would run out of fuel in around 3 hours.Should the
injection_count
type here beu64
or am I missing something?
alexcrichton closed issue #3046:
I'm using the out_of_fuel_async_yield method on the
Store
to configure yielding back after around 10k instructions. I would like to allow the async call to run forever, but if I setinjection_count
to the maximum valueu32::MAX
of re-injections this gives me around4*10^13
instructions in total. On a 4 Ghz processor I would run out of fuel in around 3 hours.Should the
injection_count
type here beu64
or am I missing something?
Last updated: Nov 22 2024 at 16:03 UTC