hyperstack-org / hyperstack-org/hyperstack

Add config switch that will dump performance data to rails log at warn level if threshold is exceeded

オープン
#383 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
JavaScript
スター
538
フォーク
41
PR マージ指標
30日以内にマージされた PR はありません

説明

The HyperModel fetch serverop dumps a nice performance log to the rails log, however its at debug level.

Add a config switch `warn_if_fetch_takes_longer_than` default 0.1 (?)

If the time is exceeded then the info is dumped at the warn level so it will show up in a production log, which can help in diagnosing some data base problems.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。