仔细观察resin.conf配置文件,不难发现。有些地方,值得让你回味
<!--
- For production sites, change dependency-check-interval to something
- like 600s, so it only checks for updates every 10 minutes.
-->
<dependency-check-interval>2s</dependency-check-interval>
请注意在注释中提到,因为做为商业化的企业信息系统应用
<dependency-check-interval>600s</dependency-check-interval>
应该不为错吧。
<!--
- Enables/disables exceptions when the browser closes a connection.
-->
<ignore-client-disconnect>true</ignore-client-disconnect>
这里的true或者false值得注意
<!--
- With another web server, like Apache, this can be commented out
- because the web server will log this information.
-->
<access-log path="logs/access.log"
format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
rollover-period="1W"/>
系统自动产生的日志功能
将会自动生成logs文件夹,以及access.log文件
关于session的生命周期如何配置,目前暂不公开发表?//
分享到:
相关推荐
- 调整`<dependency-check-interval>`节点中的时间间隔,减少不必要的资源消耗。 #### 六、启动Resin 1. **启动Resin服务**: - 进入Resin安装目录,执行启动命令:`resin.sh start` 2. **检查状态**: - 使用...
<dependency-check-interval>2s</dependency-check-interval> ``` 此配置项定义了 Resin 检查依赖文件变化的时间间隔,默认为 2 秒。这对于开发环境非常有用,可以在文件发生变化时快速重新加载应用。 **6. 邮件...
<dependency-check-interval>2s</dependency-check-interval> ``` 此配置项用于设定Resin检查依赖库更新的时间间隔,单位为秒,默认值为2秒。 #### 七、邮件服务配置 ```xml <system-property mail.smtp.host=...
第18行的`<dependency-check-interval>`配置了Resin检查应用依赖更新的频率,这个值可以根据实际需求调整。 8. **SMTP邮件配置**: 通过`<system-property>`元素(第20-21行),你可以配置Resin使用SMTP服务器...
`<dependency-check-interval>`定义了Resin检查应用程序依赖项的时间间隔,例如,设置为2秒,意味着每两秒会检查一次。这在开发环境中可能需要更频繁地检查,而在生产环境中为了性能考虑,通常会设置得更长,如600秒...
5. `<dependency-check-interval>` 配置项 该配置项用于配置 Resin 服务器的依赖项检查间隔。它的值是一个整数,单位是秒。 6. `<system-property>` 配置项 该配置项用于配置 Resin 服务器的系统属性。它有两个...