Skip to content

Commit

Permalink
registrar docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bubbleboy14 committed May 8, 2024
1 parent e1d5ad2 commit 7f295e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rel/registrar.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def timeout(self,delay,cb,*args):
Another benefit of the pure-Python Registrar subclasses (wrapping epoll,
poll, kqueue, and select - by default, rel uses the fastest available) is
that they run at configurable rates. By default, rel's CPU footprint is
unnoticeably tiny unless it's currently managing active writes, in which
case it ramps up to push the bytes through faster. These rates (normal
and turbo) can be adjusted with a couple functions:
unnoticeably tiny unless it's currently managing active writes or reads,
in which case it ramps up to push the bytes through faster. These rates
(normal and turbo) can be adjusted with a couple functions:
def set_sleep(s):
global SLEEP_SEC
Expand Down

0 comments on commit 7f295e1

Please sign in to comment.