Skip to content

Commit

Permalink
⬆️ Use QuasarDB 3.4.0 released version of the python API
Browse files Browse the repository at this point in the history
  • Loading branch information
François Travais committed Jul 31, 2019
1 parent 5703e8a commit 060d421
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 19 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[
"prometheus_client",
"quasardb==3.4.0.dev0"
"prometheus_client==0.7.1",
"quasardb==3.4.0"
],
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down
18 changes: 12 additions & 6 deletions stack/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
FROM python:3.6

RUN apt update && \
apt install apt-transport-https ca-certificates -y && \
RUN apt-get update && \
apt-get install -y \
apt-transport-https \
ca-certificates \
cmake \
g++ && \
echo "deb [trusted=yes] https://repo.quasardb.net/apt/ /" > /etc/apt/sources.list.d/quasardb.list && \
apt update && \
apt install qdb-api cmake g++ -y
apt-get update && \
apt-get install -y qdb-api && \
rm -rf /var/lib/apt/lists/*

RUN pip install prometheus_client && \
RUN pip install prometheus_client==0.7.1 && \
pip install wheel && \
pip install quasardb==3.4.0.dev0
pip install quasardb==3.4.0 && \
rm -rf /root/.cache
4 changes: 2 additions & 2 deletions stack/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
services:
qdb-server:
image: bureau14/qdb:3.3.0
image: bureau14/qdb:3.4.0
container_name: qdb-server
ports:
- 2836:2836
Expand All @@ -14,7 +14,7 @@ services:
- "./qdbd.conf:/etc/qdb/qdbd.conf"

qdb-sh:
image: bureau14/qdbsh:3.3.0
image: bureau14/qdbsh:3.4.0
container_name: qdb-sh
depends_on:
- qdb-server
Expand Down
19 changes: 10 additions & 9 deletions stack/qdbd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"depot": {
"helium": {
"url": "",
"fanout": 33,
"fanout": 4,
"gc_fanout": 1,
"read_cache": 1073741824,
"write_cache": 1073741824,
"write_cache": 268435456,
"auto_commit_period": 20,
"auto_clean_period": 10
},
Expand All @@ -15,7 +15,7 @@
"root": "db",
"max_bytes": 0,
"storage_warning_level": 90,
"storage_warning_interval": 3600,
"storage_warning_interval": 3600000,
"disable_wal": false,
"direct_read": false,
"direct_write": false,
Expand Down Expand Up @@ -45,16 +45,16 @@
},
"logger": {
"log_level": 2,
"flush_interval": 3,
"flush_interval": 3000,
"log_directory": "",
"log_to_console": false,
"log_to_syslog": false
},
"network": {
"server_sessions": 64,
"partitions_count": 1,
"idle_timeout": 600,
"client_timeout": 60,
"idle_timeout": 600000,
"client_timeout": 60000,
"max_in_buffer_size": 134217728,
"max_out_buffer_size": 134217728,
"listen_on": "127.0.0.1:2836",
Expand All @@ -76,9 +76,10 @@
"statistics_refresh_interval": 5000,
"replication_factor": 1,
"max_versions": 3,
"max_transaction_duration": 60,
"acl_cache_duration": 60,
"acl_cache_size": 100000
"max_transaction_duration": 15000,
"acl_cache_duration": 60000,
"acl_cache_size": 100000,
"persisted_firehose": "$qdb.firehose"
},
"security": {
"enable_stop": false,
Expand Down

0 comments on commit 060d421

Please sign in to comment.