public function splitTimeWindow($timeWindow, $default = 3600)
    {
        $timeWindow = (int) $timeWindow;
        if ($timeWindow <= 0) {
            $timeWindow = (int) $default;
        }
        foreach (array_keys($this->getTimeWindowUnits()) as $u) {
            if (($timeWindow % $u) === 0) {
                $unit = $u;
            } else {
                break;
            }
        }

        return [
            (int) ($timeWindow / $unit),
            $unit,
        ];
    }