]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
The mysql worker thread only sleeps 50 nanosecs between cycles, this is not enough...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 29 Nov 2007 19:37:56 +0000 (19:37 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 29 Nov 2007 19:37:56 +0000 (19:37 +0000)
commitdec1d4eba325e4f22aeab76784b436dd26e6d33a
tree994f860b35a4dc53dd6f4d1a1d8a49a676704ee7
parent8163a01cbb37687dc0dde36f9d5a6b3a5286d3eb
The mysql worker thread only sleeps 50 nanosecs between cycles, this is not enough to prevent it chomping on the CPU on most machines.
Increase to 1000, fixes bugs noticed on forum by JulianD, thanks :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8605 e03df62e-2008-0410-955e-edbf42e46eb7
src/modules/extra/m_mysql.cpp