Skip to content

Commit

Permalink
Add a note on caching NGProperties.isDevelopmentMode()
Browse files Browse the repository at this point in the history
  • Loading branch information
hugithordarson committed Mar 15, 2024
1 parent d2e3391 commit fcb1ad3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ng-appserver/src/main/java/ng/appserver/NGProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ public String _propertiesMapAsString() {
* @return true if the application is in development mode.
*
* FIXME: This needs a more robust and explicit implementation, see issue #6 // Hugi 2021-12-29
* FIXME: This definitely needs some caching since it's invoked quite often // Hugi 2024-03-15
*/
public boolean isDevelopmentMode() {
return !propWOMonitorEnabled();
Expand Down

0 comments on commit fcb1ad3

Please sign in to comment.