MDL-61305 Performance: Modinfo cache can get built in parallel
authorsam marshall <s.marshall@open.ac.uk>
Mon, 29 Jan 2018 17:16:06 +0000 (17:16 +0000)
committersam marshall <s.marshall@open.ac.uk>
Thu, 8 Feb 2018 14:45:55 +0000 (14:45 +0000)
commit08ec1b4e47d73a1bd4cae3947e353477c3a8a9f2
tree356906c9228b7108c9ce384e34d61dab22e3a444
parenta409707794cc6d74063787d27adb42154426c803
MDL-61305 Performance: Modinfo cache can get built in parallel

In a busy site it is possible that one user will access the site
while another is building modinfo cache. This can result in the
cache being built several times at once, potentially causing a
performance issue.
lib/modinfolib.php