Conquer Club

Limit funtionality before site downtime

Have any bright ideas? Share and discuss them with the community

Moderator: Community Team

Forum rules
Please read the Community Guidelines before posting.

And don't forget to search for previously suggested ideas first!

Limit funtionality before site downtime

Postby Dako on Mon Jan 13, 2014 3:26 am

If there is a planned maintenance of the website it would be great to do 2 things.

a) disable creating of new speed games 30 mins before the downtime
b) disable "start turn" for casual games 1 hour before the downtime
c) disable "start turn" for speed games 5 mins before the downtime


This will remove the need to delete the games that have gone wrong. There just will be no mistakes.
Image
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

Re: Limit funtionality before site downtime

Postby chapcrap on Sat Jan 18, 2014 2:49 pm

I have spoken with bigWham about this and there is supposed to already be some code in for this:
bigWham wrote:actually something like this was already done. here is some actual CC code:

define("DBDOWNBLOCK", '1200'); //time in seconds to block Begin Turns or Games before scheduled maintenance

i believe the first time this was tried it did not work entirely perfectly. however we have not had a scheduled downtime for some time, so there has not been a chance to try it again.

That doesn't address all of the issues in the OP, but it does solve the general idea I think.

Also, the problem with not allowing casual turns for an hour before is that every down time has to be over and hour that way, even if the maintenance were to only take 10-15 minutes, then we have to shut down most players for an extra hour.
Lieutenant chapcrap
 
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City


Return to Suggestions

Who is online

Users browsing this forum: No registered users