added comment

This commit is contained in:
Darren Ranalli 2007-11-02 01:14:47 +00:00
parent fc993f793c
commit 515a6ba022

View File

@ -126,6 +126,7 @@ class JobManager:
@staticmethod @staticmethod
def getDefaultTimeslice(): def getDefaultTimeslice():
# run for 1/2 millisecond per frame by default # run for 1/2 millisecond per frame by default
# config is in milliseconds, this func returns value in seconds
return getBase().config.GetFloat('job-manager-timeslice-ms', .5) / 1000. return getBase().config.GetFloat('job-manager-timeslice-ms', .5) / 1000.
def getTimeslice(self): def getTimeslice(self):
if self._timeslice: if self._timeslice: