Changeset 1517

Show
Ignore:
Timestamp:
14-02-11 10:56:17 (3 years ago)
Author:
robert@…
Message:

Bugfix in module communication

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/modules/ModuleCommunicationService.groovy

    r1506 r1517  
    3434         * Number of seconds to save the data in cache 
    3535         */ 
    36         def numberOfSecondsInCache = Integer.valueOf( ConfigurationHolder.config.modules.cacheDuration ) 
     36        def numberOfSecondsInCache = ConfigurationHolder.config.modules.cacheDuration ? Integer.valueOf( ConfigurationHolder.config.modules.cacheDuration.toString() ) : 300; 
    3737 
    3838        /**