multimodalart HF Staff commited on
Commit
9c87d06
·
verified ·
1 Parent(s): db100dd

Update proxy.js

Browse files
Files changed (1) hide show
  1. proxy.js +1 -1
proxy.js CHANGED
@@ -3,7 +3,7 @@ const fetch = require('node-fetch');
3
 
4
  const app = express();
5
  const TARGET_URL = 'https://rhknk53jznw37un7.us-east-1.aws.endpoints.huggingface.cloud';
6
- const MAX_PARALLEL = 4;
7
  const MAX_WAIT_MS = 10 * 60 * 1000; // 10 minutes
8
 
9
  let activeRequests = 0;
 
3
 
4
  const app = express();
5
  const TARGET_URL = 'https://rhknk53jznw37un7.us-east-1.aws.endpoints.huggingface.cloud';
6
+ const MAX_PARALLEL = 1;
7
  const MAX_WAIT_MS = 10 * 60 * 1000; // 10 minutes
8
 
9
  let activeRequests = 0;