mirror of
https://github.com/aykhans/sarin.git
synced 2026-10-17 14:53:52 +00:00
refactor(script): drop the per-call maxBodySize and its client cache
This commit is contained in:
10 files changed
+54
-146
No files matched your search
@@ -34,10 +34,3 @@ func safeUint64ToInt(u uint64) int {
|
||||
}
|
||||
return int(u)
|
||||
}
|
||||
|
||||
func safeInt64ToInt(i int64) int {
|
||||
if i > math.MaxInt {
|
||||
return math.MaxInt
|
||||
}
|
||||
return int(i)
|
||||
}
|
||||
Reference in new issue
Block a user