battis / gas-lighter

https://battis.github.io/gas-lighter/
GNU General Public License v3.0
0 stars 0 forks source link

Spurious deadline exceeded error #2

Open battis opened 1 year ago

battis commented 1 year ago

Need to figure out how to get a thread to actually die before the deadline -- at the moment Sheets throws up an error that the script has exceeded the deadline, while the progress bar continues to tick forward, because a second script was started before the deadline ended.

battis commented 1 year ago

image

battis commented 1 year ago

Directly suspend the script?

The obvious "just return from the function" seems not to be reliable, and some people suggest just throwing an error to end it. Oy.

battis commented 7 months ago

Related error in course planning tool

battis commented 1 month ago

In addition, it looks as though the scripts failing to exit gracefully is causing the status updates to max out the number of current scripts, so that progress bars stop updating.