Skip to content

Commit 234ce47

Browse files
authored
add manual flush of stderr and stdout (#20)
* add manual flush of stderr and stdout * update version
1 parent 2e6687d commit 234ce47

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎function-server/main.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ def import_function(wd, func_fqn):
8181
def exec_function(f):
8282
def handler(req, res):
8383
res.body = process_req(req, res, f)
84+
sys.stdout.flush()
85+
sys.stderr.flush()
8486

8587
return handler
8688

‎version.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.12
1+
0.0.13

0 commit comments

Comments
 (0)