Kunal Grover

Results 7 comments of Kunal Grover

For anyone stuck in this, you can create a custom middleware to populate the request.user in a middleware before running the auditlog middleware. https://crondev.wordpress.com/2018/05/13/django-middlewares-with-rest-framework/

Slowdown also visible when running with Codeship.

Possible solution to set TCP_NODELAY flag whenever making a request. https://bugs.python.org/issue3766 Offending call ``` 12822 2238.764 0.175 2238.764 0.175 {method 'recv' of '_socket.socket' objects} ```

I am not sure if removing the code lines is safe. I was able to compile by changing the header to include: https://stackoverflow.com/questions/46302524/copy-to-user-undefined-in-linux-kernel-version-4-12-8

I actually got this to work so will document it for everyone's benefit, feel free to add it on Wikis. ## Setup - Running ESPHome on ESP nodes with BLE...

Seems the error was something else. There is a struct named traits in model.h and the namespace in this code was also traits, renaming that fixed the issue and I...