README.md in lograge-sql-1.0.0 vs README.md in lograge-sql-1.1.0
- old
+ new
@@ -31,11 +31,11 @@
method=GET path=/mypath format=html ...
Object Load (0.42) SELECT "objects.*" FROM "objects"
Associations Load (0.42) SELECT "associations.*" FROM "associations" WHERE "associations"."object_id" = "$1"
```
-However, having `Lograge::Formatters::Json.new`, the relevant output is
+However, having `Lograge::Formatters::Json.new`, the relevant output is
```json
{
"sql_queries": "name1 ({duration1}) {query1}\nname2 ({duration2}) query2 ...",
"sql_queries_count": 3
@@ -58,9 +58,12 @@
sql_queries
end
end
```
+#### Thread-safety
+
+[Depending on the web server in your project](https://github.com/steveklabnik/request_store#the-problem) you might benefit from improved thread-safety by adding [`request_store`](https://github.com/steveklabnik/request_store) to your Gemfile. It will be automatically picked up by `lograge-sql`.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/iMacTia/lograge-sql.