[
http://mifosforge.jira.com/browse/MIFOS-2724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56942#action_56942
]
Adam Monsen commented on MIFOS-2724:
------------------------------------
I'm saying something different. What I'm proposing is that there is only one
configured value: GeneralConfig.ShutdownCountdownNotificationThreshold, and
that this specifies that, when shutdown is imminent, how much time should be
left in the countdown before users are notified that shutdown is imminent.
For instance:
* GeneralConfig.ShutdownCountdownNotificationThreshold=1800
* admin schedules a shutdown in 10 minutes
* users are notified immediately that shutdown is imminent
Another example:
* GeneralConfig.ShutdownCountdownNotificationThreshold=1800
* admin schedules a shutdown in 1 hour (by entering 3600 in the shutdown form)
* after 30 minutes pass, users are notified immediately that shutdown is
imminent
> provide rudimentary shutdown mechanism for Mifos web application
> ----------------------------------------------------------------
>
> Key: MIFOS-2724
> URL: http://mifosforge.jira.com/browse/MIFOS-2724
> Project: mifos
> Issue Type: Improvement
> Components: Configuration
> Reporter: Adam Monsen
> Assignee: jslawinski
> Fix For: Gazelle C
>
>
> * allow an administrator to schedule a shutdown to occur in a specified
> number of hours/minutes
> ** use a simple Struts action class/method/mapping that schedules the
> shutdown in a configured number of seconds
> *** for example: /mifos/shutdown.do
> *** log a WARNING level message "Mifos will be shutting down in x hours, y
> minutes, z seconds."
> ** default to 10 minutes / 600 seconds
> ** this interval should be configurable in
> applicationConfiguration.custom.properties
> * presence of a globally (application) scoped object may be used to indicate
> that shutdown is imminent
> ** or a static, synchronized variable... whatever is easiest
> * when shutdown is imminent, automatically log out all users and provide a
> message upon next HTTP request
> ** "You have been logged out because Mifos is shutting down."
> ** see BaseAction#execute(), BaseAction#logout()
> *** (or suggest/provide a better alternative)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues