Skip to content

Commit

Permalink
chore: increase server readiness wait time and add default pagination…
Browse files Browse the repository at this point in the history
… settings
  • Loading branch information
LeonardoMeireles55 committed Jan 29, 2025
1 parent f34ee62 commit baa6d7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
steps:
- name: Wait for server to be ready and healthy test
run: |
sleep 20
sleep 30
until curl -sSf http://localhost:${{ secrets.SERVER_LOCAL_PORT }}/actuator/health; do
echo "Waiting for server..."
sleep 5
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ spring.datasource.hikari.maximum-pool-size=5
spring.datasource.hikari.minimum-idle=1
spring.datasource.hikari.idle-timeout=300000

# Default Pagination Settings
spring.data.web.pageable.default-page-size=40
spring.data.web.pageable.page-parameter=page
spring.data.web.pageable.size-parameter=size

# ===============================
# = EMAIL CONFIGURATION
# ===============================
Expand Down

0 comments on commit baa6d7f

Please sign in to comment.