mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-12 10:11:30 -04:00
Increase exportratelimit to high number for tests.
This commit is contained in:
parent
43b5dbd1e8
commit
4c2d30db47
1 changed files with 1 additions and 1 deletions
|
@ -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}`;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue