Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ services:
- maple-network
env_file:
- .env.bootstrap
environment:
# Override .env.bootstrap MINIO_ENDPOINT for in-container DNS.
# .env.bootstrap keeps localhost:9000 so host-side tooling works.
MINIO_ENDPOINT: http://minio:9000
volumes:
- ./docker/minio:/scripts:ro
entrypoint: /bin/sh /scripts/bootstrap.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties
@ConfigurationProperties(prefix = "nexon.http-client")
data class NexonHttpClientProperties(
val poolName: String = "nexon-pool",
val maxConnections: Int = 150,
val maxConnections: Int = 250,
val pendingAcquireMaxCount: Int = 1000,
val pendingAcquireTimeoutMs: Long = 5000,
val connectTimeoutMs: Int = 3000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SchedulerRateLimiter {
.addLimit(
Bandwidth.builder()
.capacity(permits.toLong())
.refillIntervally(permits.toLong(), Duration.ofSeconds(1))
.refillGreedy(permits.toLong(), Duration.ofSeconds(1))
.build(),
)
.build()
Expand Down
2 changes: 1 addition & 1 deletion module-external-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ nexon:
key: ${NEXON_API_KEY}
http-client:
pool-name: ${NEXON_HTTP_POOL_NAME:nexon-pool}
max-connections: ${NEXON_HTTP_MAX_CONNECTIONS:150}
max-connections: ${NEXON_HTTP_MAX_CONNECTIONS:250}
pending-acquire-max-count: ${NEXON_HTTP_PENDING_ACQUIRE_MAX_COUNT:1000}
pending-acquire-timeout-ms: ${NEXON_HTTP_PENDING_ACQUIRE_TIMEOUT_MS:5000}
connect-timeout-ms: ${NEXON_HTTP_CONNECT_TIMEOUT_MS:3000}
Expand Down
Loading