Increase exportratelimit to high number for tests.

This commit is contained in:
SamTV12345 2023-09-13 20:00:24 +02:00
parent 43b5dbd1e8
commit 4c2d30db47

View file

@ -51,7 +51,7 @@ exports.init = async function () {
// Start the Etherpad server on a random unused port. // Start the Etherpad server on a random unused port.
settings.port = 0; settings.port = 0;
settings.ip = 'localhost'; settings.ip = 'localhost';
settings.importExportRateLimiting = {max: 0}; settings.importExportRateLimiting = {max: 999999};
settings.commitRateLimiting = {duration: 0.001, points: 1e6}; settings.commitRateLimiting = {duration: 0.001, points: 1e6};
exports.httpServer = await server.start(); exports.httpServer = await server.start();
exports.baseUrl = `http://localhost:${exports.httpServer.address().port}`; exports.baseUrl = `http://localhost:${exports.httpServer.address().port}`;