fix
This commit is contained in:
@@ -20,10 +20,10 @@ func GetNextToBeIndexed(c *gin.Context) {
|
|||||||
|
|
||||||
checkIndexingTimeout()
|
checkIndexingTimeout()
|
||||||
|
|
||||||
maxFileSizeMB := c.Query("maxFileSizeMB")
|
maxFileSize := c.Query("maxFileSize")
|
||||||
maxSize := 10_000_000
|
maxSize := 10_000_000_000
|
||||||
if maxFileSizeMB != "" {
|
if maxFileSize != "" {
|
||||||
if val, err := strconv.Atoi(maxFileSizeMB); err == nil {
|
if val, err := strconv.Atoi(maxFileSize); err == nil {
|
||||||
maxSize = val
|
maxSize = val
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user