Skip to content

Commit

Permalink
supervisor.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Jul 14, 2019
1 parent 35397ff commit 2fcb984
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/supervisor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,14 @@ Custom task supervisor
from atasker import TaskSupervisor
my_supervisor = TaskSupervisor(
pool_size=100, reserve_normal=10, reserve_high=10)
class MyTaskSupervisor(TaskSupervisor):
# .......
my_supervisor2 = MyTaskSupervisor()
Putting own threads
===================

Expand Down

0 comments on commit 2fcb984

Please sign in to comment.