Commit 0647acd4 authored by Joel Collins's avatar Joel Collins
Browse files

Upped capture count warning to 10000

parent 061618d9
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -34,9 +34,9 @@ def main():

    # Check number of captures being restored
    files = make_file_list(cap_path, EXIF_FORMATS)
    if len(files) >= 2000:
    if len(files) >= 10000:
        error_sources.append(WarningSource(
            ("Over 2000 captures are being restored. This may slow down server startup.",
            ("Over 10000 captures are being restored. This may slow down server startup.",
            f"Consider moving your captures from {cap_path} to another location.")
        ))