https://bugzilla.wikimedia.org/show_bug.cgi?id=47289

--- Comment #8 from Daniel Renfro <bluecu...@gmail.com> ---
Thanks for the help, Tim. I added some wfDebugLog() calls in
GlobalDependency::isExpired(), and came up with this:

  GlobalDependency::isExpired: array (
    'count($GLOBALS[$this->name])' => 120,
    'count($this->value)' => 120,
    'count(array_intersect($GLOBALS[$this->name], $this->value))' => 120,
    'count(array_diff($GLOBALS[$this->name], $this->value))' => 0,
    '$GLOBALS[$this->name] == $this->value' => true,
    '$GLOBALS[$this->name] === $this->value' => true,
  )

Obviously $GLOBALS[$this->name] is set and the arrays are the same.
GlobalDependency::isExpired() then should return false, but sometimes it
doesn't and recache() is called. I am kinda stuck and handed it off to my
colleague Victor to look at.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to