We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4effd83 commit ec79406Copy full SHA for ec79406
codeflash/tracer.py
@@ -246,7 +246,7 @@ def __exit__(
246
def tracer_logic(self, frame: FrameType, event: str) -> None:
247
if event != "call":
248
return
249
- if self.timeout is not None and (time.time() - self.start_time) > self.timeout:
+ if None is not self.timeout and (time.time() - self.start_time) > self.timeout:
250
sys.setprofile(None)
251
threading.setprofile(None)
252
console.print(f"Codeflash: Timeout reached! Stopping tracing at {self.timeout} seconds.")
0 commit comments