Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with concurrent identical searches (Fixes #233), Change "log" level messaging to "debug1" (Fixes #242) #258

Merged
merged 4 commits into from
Apr 18, 2024
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
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
services:
pgstac:
container_name: pgstac
Expand Down
2 changes: 1 addition & 1 deletion docker/pypgstac/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ FROM pyrustbase as pypgstac
COPY ./src/pypgstac/pyproject.toml /tmp/pyproject.toml
WORKDIR /tmp
RUN \
toml-to-req --include-optional \
toml-to-req --optional-lists test,build,dev,psycopg,migrations \
&& pip install -r /tmp/requirements.txt
COPY docker/pypgstac/bin /opt/docker/pypgstac/bin
COPY src/pypgstac /opt/src/pypgstac
Expand Down
6 changes: 3 additions & 3 deletions docker/pypgstac/bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ while [[ $# -gt 0 ]]
;;

--vv)
MESSAGELOG=1
MESSAGEDEBUG=1
shift
;;

Expand Down Expand Up @@ -255,8 +255,8 @@ while [[ $# -gt 0 ]]


CLIENTMESSAGES='warning'
[ $MESSAGENOTICE -eq 1 ] && CLIENTMESSAGES='notice'
[ $MESSAGELOG -eq 1 ] && CLIENTMESSAGES='log'
[[ $MESSAGENOTICE -eq 1 ]] && CLIENTMESSAGES='notice'
[[ $MESSAGEDEBUG -eq 1 ]] && CLIENTMESSAGES='debug1'
echo $CLIENTMESSAGES

if [[ ($FORMATTING -eq 0) && ($SETUPDB -eq 0) && ($PGTAP -eq 0) && ($BASICSQL -eq 0) && ($PYPGSTAC -eq 0) && ($MIGRATIONS -eq 0) ]]
Expand Down
Loading
Loading