You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CPU time limit limits the amount of CPU time spent by a module and its children.
This limit is NOT intended to be very precise.
The total work done by an Inox process should not be computed based on CPU time spent by all modules running in the process.
Main Issues
When a goroutine (module) pauses its execution its CPU time bucket does not stop decreasing the token count, unless the code section that causes the goroutine switch is wrapped in a Context.DoIO call. Goroutines can also be preempted.
Some goroutines do not correspond to a module, therefore the CPU time they spend is not counted.
The CPU time limit limits the amount of CPU time spent by a module and its children.
Main Issues
Context.DoIO
call. Goroutines can also be preempted.Preemption
Proposed solutions (should be used in conjunction)
Context.DoIO
call, although this is very limited.The text was updated successfully, but these errors were encountered: