Skip to content

Commit 074bba9

Browse files
committed
removed celery and increased DB connections
1 parent 5b76e8b commit 074bba9

File tree

3 files changed

+2
-24
lines changed

3 files changed

+2
-24
lines changed

.env_test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ NGINX_BASE_URL=http://localhost
6464
# port where the server can be reached on HTTPS
6565
HTTP_HOST=localhost
6666
HTTPS_HOST=
67-
POSTGRESQL_MAX_CONNECTIONS=100
67+
POSTGRESQL_MAX_CONNECTIONS=500
6868
HTTP_PORT=8000
6969
HTTPS_PORT=443
7070

.github/workflows/geonode-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
geonode.geoapps.api.tests \
7070
geonode.upload \
7171
geonode.tests.csw \
72-
geonode.catalogue.backends.tests
72+
geonode.catalogue.backends.tests --duration=30
7373
'
7474
working-directory: ${{ github.workspace }}
7575

docker-compose-test.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,6 @@ services:
3838
entrypoint: ["/usr/src/geonode/entrypoint.sh"]
3939
command: "uwsgi --ini /usr/src/geonode/uwsgi.ini"
4040

41-
# Celery worker that executes celery tasks created by Django.
42-
celery:
43-
<< : *default-common-django
44-
container_name: celery4${COMPOSE_PROJECT_NAME}
45-
depends_on:
46-
django:
47-
condition: service_healthy
48-
environment:
49-
- IS_CELERY=True
50-
entrypoint: ["/usr/src/geonode/entrypoint.sh"]
51-
command: "celery-cmd"
52-
5341
# Nginx is serving django static and media files and proxies to django and geonode
5442
geonode:
5543
image: geonode/nginx:1.28.0-v1
@@ -145,14 +133,6 @@ services:
145133
#ports:
146134
# - "5432:5432"
147135

148-
# Vanilla Redis service. This is needed by celery
149-
redis:
150-
image: redis:7-alpine
151-
container_name: redis4${COMPOSE_PROJECT_NAME}
152-
volumes:
153-
- redisdata:/data
154-
restart: unless-stopped
155-
156136
volumes:
157137
statics:
158138
name: ${COMPOSE_PROJECT_NAME}-statics
@@ -172,5 +152,3 @@ volumes:
172152
name: ${COMPOSE_PROJECT_NAME}-data
173153
tmp:
174154
name: ${COMPOSE_PROJECT_NAME}-tmp
175-
redisdata:
176-
name: ${COMPOSE_PROJECT_NAME}-redisdata

0 commit comments

Comments
 (0)