Skip to content

Commit b4d4c03

Browse files
committed
Register signal handlers in development mode
This allows keeping the session when the development server restarts due to changes. It works fine with waitress and hupper.
1 parent f9779d7 commit b4d4c03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webware/Configs/Application.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,6 @@ UnknownFileTypes = {
129129

130130
OutputEncoding = 'utf-8'
131131
ResponseBufferSize = 8 * 1024 # 8 kBytes
132+
RegisterSignalHandler = Development
132133
RunTasks = True
133134
WSGIWrite = True # use write callable with WSGI

0 commit comments

Comments
 (0)