|
|
@ -134,8 +134,8 @@ func isInTimeOfDay(t time.Time, ta TimeArrow) bool { |
|
|
|
|
|
|
|
value, ok := isInTimeOfDayCacheBool.Load(mainKey) |
|
|
|
if ok { |
|
|
|
ret, ok := value.(int) |
|
|
|
if ok { |
|
|
|
ret := value.(int) |
|
|
|
|
|
|
|
if ret == 3 { |
|
|
|
return true |
|
|
|
} |
|
|
@ -143,7 +143,6 @@ func isInTimeOfDay(t time.Time, ta TimeArrow) bool { |
|
|
|
return false |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
parseInLocationCache := map[string]time.Time{} |
|
|
|
var err error |
|
|
|