code: function handleCommonOptions(options) {
          // check the task timeout, if not specified, then set a default one.
          if (!options.hasOwnProperty('_taskTimeout') && options.schedulerOverrides &&
                  options.schedulerOverrides.hasOwnProperty('timeout')) {
              options._taskTimeout = options.schedulerOverrides.timeout;
          }
  
          if (typeof options._taskTimeout !== 'number') {
              options._taskTimeout = 24 * 60 * 60 * 1000; //default to 24 hour timeout
          }
          return options;
      }
docs: handle task common options
  
  This handling will operate on the input options itself. Currently this function only checks
  the task timout setting, if in future there is additional common setting, put it here as
  well.
  
  @param {Object} options - The input task options.
  @return {Object} the result options object.