[Tickets #13119] Re: time of auto_save_drafts is double for the first auto save

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Apr 16 20:51:28 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13119
------------------------------------------------------------------------------
  Ticket             | 13119
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | time of auto_save_drafts is double for the first auto
                     | save
  Queue              | IMP
  Version            | 6.1.7
  Type               | Bug
-State              | Unconfirmed
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2014-04-16 14:51) wrote:

Can't reproduce.

Added console log to the code - logging when the periodical executor  
is defined, and then every time the save drafts it is run.  Used a 5  
second interval for testing.

// Initial definition
Date {Wed Apr 16 2014 14:44:29 GMT-0600 (Mountain Standard Time)}
compos...1884070 (line 685)
// First run (to init the hash values)
Date {Wed Apr 16 2014 14:44:29 GMT-0600 (Mountain Standard Time)}
compos...1884070 (line 705)
// Second run
Date {Wed Apr 16 2014 14:44:34 GMT-0600 (Mountain Standard Time)}
compos...1884070 (line 705)
// Third run
Date {Wed Apr 16 2014 14:44:39 GMT-0600 (Mountain Standard Time)}
compos...1884070 (line 705)
[etc...]

It's correctly being run every X seconds (X in the test = 5 seconds).





More information about the bugs mailing list