Skip to content
Snippets Groups Projects

Fix for js.time_limit stuck at 0

Merged Nigel Reed requested to merge mrc_fix_time_limit into master
  1. Sep 01, 2023
    • Nigel Reed's avatar
      Changed storage of js.time_limit per Rob's suggestion · a4d27ca6
      Nigel Reed authored
      Now using js.exit rather than a temporary variable. You
      learn something new every day!
      a4d27ca6
    • Nigel Reed's avatar
      Fix for js.time_limit stuck at 0 · 3ffe835b
      Nigel Reed authored
      When setting js.time_limit in mirc-client.js the value sticks
      throughout the session, which means any other scripts run will
      also have js.time_limit = 0. This modification stores the value
      of js.time_limit upon invocation and then resets it when the
      main loop terminates. While this should be sufficient in most
      cases, it obviously won't catch something due to an error. These
      should be rare if not non-existent now.
      3ffe835b
Loading