INNER CODE UNIT · Java

BUSY_TIMEOUT

GrapheneOS/AttestationServer · src/main/java/app/attestation/server/AttestationServer.java:83

    private static final int BUSY_TIMEOUT = 10 * 1000;
    private static final int QR_CODE_PIXEL_SIZE = 300;
    private static final long SESSION_LENGTH = 48 * 60 * 60 * 1000;
    private static final int HISTORY_PER_PAGE = 20;
    private static final long MMAP_SIZE = 1024 * 1024 * 1024;

    static final String DOMAIN = "attestation.app";
    private static final String ORIGIN = "https://" + DOMAIN;

    private static final long POST_START_DELAY_MS = 1000;

    private static final Logger logger = Logger.getLogger(AttestationServer.class.getName());

    // This should be moved to a table in the database so that it can be modified dynamically
    // without modifying the source code.
    private static final String[] emailBlacklistPatterns = {
        "(contact|security|webmaster)@(attestation.app|grapheneos.org|seamlessupdate.app)"
    };

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…