Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

unsafe write options

  • Loading branch information...
commit c84cf135d0b3b902491b0bb70847c42ea6b8bb59 1 parent 2817123
@wojcikstefan wojcikstefan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  flask_tracking/__init__.py
View
2  flask_tracking/__init__.py
@@ -82,6 +82,6 @@ def track_after(self, response):
response_body=can_store_body and response.data[:self.max_body_length] or '',
execution_time=execution_time,
custom_data=getattr(request, '_tracking_data', None),
- ).save(cascade=False, safe=False)
+ ).save(cascade=False, safe=False, write_options={'w': -1, 'fsync': False})
return response
Please sign in to comment.
Something went wrong with that request. Please try again.