ToolJet/config
Ashish 12d110e006
Feature/datasource connection pools (#357)
* add a library which defines available datasources as constants

* include thread_pool gem and concurrent-ruby gem

* modify per process connection_pools global variable to be a concurrent map datastructure

* add a new DsConnectionPool libary to provide the api for using connections from a connection pool

* convert the connection pool parameters in the ENV to integers before using them

* add a new function in the ds_connection_pool library to reset_connection_pool/s

* add unit tests for the ds_connection_pool library

* fix typo

* better variable names and module_names

* refactor connection pool library test cases to use mocked query service

* add magic comment to make strings frozen

* remove airtable from the list of connection pooled datasources

* separate module inside available_data_sources to list connection poolable datasources

* use datasource_id as the key for storing connection pools of a type; Also handle cases when the pools connections are stale

* add additional test cases for the connection pool library

* fix rubocop errors
2021-07-07 12:16:19 +05:30
..
environments Feature: Added forgot password (#264) 2021-06-17 12:29:23 +05:30
initializers Feature/datasource connection pools (#357) 2021-07-07 12:16:19 +05:30
locales Initial commit for rails API 2021-03-31 19:08:49 +05:30
application.rb Bump ToolJet version 2021-07-05 20:00:10 +05:30
boot.rb Setup Rubocop 2021-04-29 12:11:23 +05:30
cable.yml Initial commit for rails API 2021-03-31 19:08:49 +05:30
credentials.yml.enc Initial commit for rails API 2021-03-31 19:08:49 +05:30
database.yml Fixes the rails server connection to docker postgres service (#220) 2021-06-13 17:10:47 +05:30
environment.rb Setup Rubocop 2021-04-29 12:11:23 +05:30
puma.rb Fixes Rubocop issues in tests (#359) 2021-07-01 12:54:35 +05:30
routes.rb Feature: Delete apps (#323) 2021-06-25 23:13:44 +05:30
spring.rb Fixes Rubocop issues in tests (#359) 2021-07-01 12:54:35 +05:30
storage.yml Initial commit for rails API 2021-03-31 19:08:49 +05:30