joegasewicz / joegasewicz/code-spy

add sleep time for event handler

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue help wanted
Dominant language
Python
Stars
13
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Event handler has a race condition if it's run less than 1s on my mac.
Add an option to the codeSpy API to configure this sleep time with a default of 1s.

https://github.com/joegasewicz/code-spy/blob/cd6230c8280632de0593dee96268ac92093434e4/code_spy/event_handlers.py#L21

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.