Skip to content

Commit

Permalink
fix: include issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungGwan123 committed Nov 28, 2024
1 parent 9e6f8dd commit 44dbf49
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ http {
# server 211.188.59.137:3000 weight=8 max_fails=3 fail_timeout=30s;
# server 211.188.59.126:3000 weight=1 max_fails=3 fail_timeout=30s;
# server 124.28.132.80:7999 weight=80 max_fails=3 fail_timeout=30s;
# keepalive 300;
# keepalive_requests 1000;
# keepalive_timeout 75s;
keepalive 300;
keepalive_requests 1000;
keepalive_timeout 75s;
}

server {
Expand All @@ -35,13 +35,13 @@ http {

location /api {
proxy_pass http://api_servers;
# proxy_next_upstream error timeout http_500 http_502 http_503 http_504;
# proxy_next_upstream_tries 3;
# proxy_next_upstream_timeout 10s;
proxy_next_upstream error timeout http_500 http_502 http_503 http_504;
proxy_next_upstream_tries 3;
proxy_next_upstream_timeout 10s;

# proxy_connect_timeout 10s;
# proxy_send_timeout 10s;
# proxy_read_timeout 10s;
proxy_connect_timeout 10s;
proxy_send_timeout 10s;
proxy_read_timeout 10s;

proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
Expand Down
3 changes: 2 additions & 1 deletion packages/server/src/upbit/coin-list.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ export class CoinListService {
async getSimpleCoin(markets: string[]): Promise<any[]> {
const krwCoinInfo = await this.waitForKrwCoinInfo();
if (!markets.length) return [];

return krwCoinInfo
.filter((coin) => markets.includes(coin.market))
.filter((coin) => coin.market === (markets))
.map((coin) => this.toSimpleCoinDto(coin));
}

Expand Down

0 comments on commit 44dbf49

Please sign in to comment.