-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add queueing and multi process support (#48)
* add queueing and multi process * fix some stuff * fix status * fix some failure cases * prevent spurious exception * add worker id to logs * fix tests * some cleanups * some cleanups, improved test coverage * fix integration issue * update version
- Loading branch information
Showing
11 changed files
with
890 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from .potassium import * | ||
from .hooks import * | ||
from .store import Store, RedisConfig | ||
from .store import Store, RedisConfig | ||
from .types import Request, Response |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class InvalidEndpointTypeException(Exception): | ||
def __init__(self): | ||
super().__init__("Invalid endpoint type. Must be 'handler' or 'background'") | ||
|
||
|
||
class RouteAlreadyInUseException(Exception): | ||
def __init__(self): | ||
super().__init__("Route already in use") | ||
|
||
|
Oops, something went wrong.