feat: remove "nocache" on download validation, and increase ratelimit time

Signed-off-by: Hanif Dwy Putra S <47862061+hansputera@users.noreply.github.com>
This commit is contained in:
Hanif Dwy Putra S
2022-07-29 13:31:57 +00:00
parent c5534833d6
commit 45d5edb844
2 changed files with 1 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ export const rateLimitConfig = {
* So, their ratelimit data will removed.
* PS: Data stored on redis.
*/
ratelimitTime: 60,
ratelimitTime: 120,
};
/**

View File

@@ -28,10 +28,6 @@ export default applyRoute(
'Invalid Provider, available provider is: ' +
Providers.map((x) => x.resourceName()).join(', '),
})),
nocache:
req.method === 'POST'
? ow.optional.boolean
: ow.optional.string,
rotateOnError:
req.method === 'POST'
? ow.optional.boolean