footprintjs - v11.2.0
    Preparing search index...

    Interface FileSinkOptions

    fileSink's options — every resource the sink can spend, bounded.

    interface FileSinkOptions {
        flushTimeoutMs?: number;
        maxBytes?: number;
        maxEntryBytes?: number;
        maxQueuedBytes?: number;
    }
    Index
    flushTimeoutMs?: number

    How long flush() (drain the queue, then fsync) may take before it rejects. Default 10 s.

    maxBytes?: number

    The most bytes the file may hold (the bytes already in it count). Once an entry would pass it, the file is FULL: that entry and every later one is refused and counted by the run, never written — except a closing entry, which may use 64 KiB more so a full file can still say how the run ended. Default 64 MiB.

    maxEntryBytes?: number

    The largest ONE entry's line may be; a larger entry is refused whole (maxEntryBytes named). Default 8 MiB.

    maxQueuedBytes?: number

    The most bytes accepted and not yet on disk. Writes are asynchronous, so a sink slower than the run queues; past this bound an entry is DROPPED and counted (never buffered without limit, never a stall). Default 16 MiB.