1
0
Fork 0
mirror of synced 2024-08-04 04:52:03 +12:00
Commit graph

7888 commits

Author SHA1 Message Date
Jake Barnby
be18943fa4
Merge branch 'feat-cloud-test-jake' into feat-cloud-jake 2022-11-09 18:16:20 +13:00
Jake Barnby
b6839fa8f1
Capture pools on init 2022-11-09 16:39:15 +13:00
Jake Barnby
4fe2289e7f
Add max connections variable 2022-11-09 16:24:42 +13:00
Jake Barnby
fafbe71b24
Accept a size parameter when creating db/redis pools 2022-11-09 16:21:27 +13:00
Jake Barnby
e1d80c2b93
Add get worker pool size function 2022-11-09 16:19:01 +13:00
Jake Barnby
958e5424f0
Revert "Revert "WIP fix too many connections" registry changes"
This reverts commit 11c3060682.
2022-11-09 16:12:50 +13:00
Damodar Lohani
5bd4b6e59d Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-usage-refactor-fo-db-pools 2022-11-09 01:21:04 +00:00
shimon
9d641b985a tidy up 2022-11-08 16:00:39 +02:00
Matej Bačo
940eee0562 Merge remote-tracking branch 'origin/feat-decouple-executor' into feat-db-pools-opr 2022-11-08 12:39:25 +00:00
Matej Bačo
d275fa0111 Fix tests 2022-11-08 12:34:14 +00:00
Matej Bačo
80b49452f4 Fix executor bugs, Add Open Runtimes Proxy 2022-11-08 10:02:22 +00:00
Matej Bačo
a52ff7372a Add Open Runtimes Executor 2022-11-08 08:49:45 +00:00
Jake Barnby
11c3060682
Revert "WIP fix too many connections" registry changes
This reverts commit a6ffab09df.
2022-11-08 12:25:54 +13:00
shimon
3a651adea5 replacing offset with pagination 2022-11-07 17:42:08 +02:00
shimon
711d8061a6 replacing offset with pagination 2022-11-07 17:30:22 +02:00
shimon
3768912412 replacing offset with pagination 2022-11-07 16:39:42 +02:00
Christy Jacob
f5484d4548 feat: update mariadb images 2022-11-07 19:54:50 +05:30
Christy Jacob
682790272f feat: update volume sync 2022-11-07 18:10:56 +05:30
shimon
4409217521 queue 2022-11-07 14:20:02 +02:00
Christy Jacob
f5bf48baa7 feat: update volume sync 2022-11-07 17:36:42 +05:30
Christy Jacob
0c6107990d feat: update volume sync 2022-11-07 17:17:51 +05:30
shimon
9ed6ed69fb queue 2022-11-07 13:22:52 +02:00
Christy Jacob
1d4afd2f6c Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-mysql-test 2022-11-07 16:45:28 +05:30
shimon
6f9dcae858 queue 2022-11-07 12:37:07 +02:00
Jake Barnby
a6ffab09df
WIP fix too many connections 2022-11-07 23:31:54 +13:00
shimon
ef7b53fbc7 queue 2022-11-06 23:41:33 +02:00
shimon
0e99198fa8 queue 2022-11-06 16:40:08 +02:00
shimon
ed505fba7c queue 2022-11-06 15:10:26 +02:00
Damodar Lohani
5756a7e117 Merge remote-tracking branch 'origin/feat-fixes-for-pools' into feat-usage-refactor-fo-db-pools 2022-11-06 08:10:01 +00:00
Eldad Fux
d31a3ab088 Updated dependencies 2022-11-04 07:26:56 +02:00
Eldad Fux
1ff53bc82a Merge branch 'master' of https://github.com/appwrite/appwrite into feat-fixes-for-pools 2022-11-04 07:26:35 +02:00
shimon
bc631d926e ticker 2022-11-04 07:12:08 +02:00
Damodar Lohani
4ef05e2a16 Merge remote-tracking branch 'origin/master' into feat-usage-refactor-fo-db-pools 2022-11-04 04:22:50 +00:00
Eldad Fux
f6ae1fedd2 Fixed broken call 2022-11-03 22:24:03 +02:00
Eldad Fux
c28edaaa96 Enabled 64 connections 2022-11-03 18:30:55 +02:00
Eldad Fux
1d59b8bd54 Leftovers 2022-11-03 18:28:28 +02:00
Eldad Fux
995283c15d Removed enableCoroutine support 2022-11-03 18:27:41 +02:00
Eldad Fux
be8c145e84 Fix for linter 2022-11-03 18:26:31 +02:00
Eldad A. Fux
44ca7d9459
Merge pull request #4631 from appwrite/feat-fix-account-naming
Updated titles on account routes
2022-11-03 18:19:41 +02:00
Eldad Fux
9bba91fcb8 Update pools library version 2022-11-03 18:07:53 +02:00
Eldad Fux
103469928e Updated routes 2022-11-03 17:24:32 +02:00
Eldad Fux
de610855fe Updates 2022-11-03 17:19:55 +02:00
Christy Jacob
0aac303d51 feat: rename rsync to volume-sync worker 2022-11-02 20:38:13 +05:30
Christy Jacob
d162c6b0b2 Merge branch 'feat-mysql-test' of github.com:appwrite/appwrite into feat-mysql-test 2022-11-02 20:28:28 +05:30
Christy Jacob
8ced55bf46 feat: add new rsync worker 2022-11-02 20:26:03 +05:30
Eldad A. Fux
32be6d6816
Merge pull request #4282 from appwrite/doc-unique-id
Update Unique ID references in docs from magic string to ID.unique()
2022-11-02 15:39:46 +02:00
Damodar Lohani
fb120be78e get projectdb on CLI 2022-11-02 05:48:17 +00:00
Damodar Lohani
85920e5b14 fix missing mariadb 2022-11-02 05:38:46 +00:00
Damodar Lohani
c4daf33a72 Merge remote-tracking branch 'origin/master' into feat-refactor-tasks 2022-11-02 05:18:23 +00:00
Christy Jacob
c074731615
Merge pull request #4590 from rskbansal/master
fixed grammatical and spelling errors
2022-11-02 07:38:45 +05:30
Vincent (Wen Yu) Ge
a8a23fb8eb Merge branch 'master' into doc-unique-id 2022-11-01 17:53:48 +00:00
Christy Jacob
5ea19cd539
Merge pull request #3848 from appwrite/refactor-remove-beta
Remove beta tag from Android, Kotlin, Apple and Swift
2022-11-01 12:35:56 +05:30
Christy Jacob
4331e1ef03 feat: update PR 2022-11-01 04:55:13 +00:00
Christy Jacob
a6499e34a3 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-mysql-test 2022-11-01 04:52:07 +00:00
Christy Jacob
629c1b1686 Merge branch 'test-mysql-adapter' of github.com:appwrite/appwrite into update-db-library 2022-10-31 23:38:58 +05:30
fogelito
bf119867e8 change name back to original 'name' 2048 2022-10-31 17:17:37 +02:00
Christy Jacob
aff7c59097 feat: update database library 2022-10-31 12:02:51 +00:00
Damodar Lohani
546d8ba583 refactor to use db pools 2022-10-31 07:31:31 +00:00
Damodar Lohani
982a449143 Merge remote-tracking branch 'origin/feat-db-pools' into feat-usage-refactor-fo-db-pools 2022-10-31 06:49:37 +00:00
Damodar Lohani
f56a294760 fix error logger callback 2022-10-30 05:38:22 +00:00
Damodar Lohani
826a9540d0 fix cache 2022-10-30 05:36:31 +00:00
Damodar Lohani
7433a260db fix formatting 2022-10-30 05:16:51 +00:00
Damodar Lohani
0d29968169 refactor database listener callback 2022-10-30 05:14:46 +00:00
Damodar Lohani
80972aa4ce update variables descriptions 2022-10-30 05:07:46 +00:00
Eldad Fux
fdf88d8355 HTTP Tests 2022-10-29 17:05:26 +03:00
Eldad Fux
766c19b165 Removed logs 2022-10-29 17:04:35 +03:00
Eldad Fux
5eb39b1ccd No need to delegate DB errors 2022-10-29 16:59:03 +03:00
Vincent (Wen Yu) Ge
afa508cbed undo changes in swagger files 2022-10-28 20:45:13 +00:00
Eldad Fux
8e492a9797 Tests 2022-10-28 17:45:16 +03:00
Damodar Lohani
60f2d10a50 update variable namings 2022-10-28 09:54:56 +00:00
Damodar Lohani
4c5273b8b2 document the environment variable usage stats retention 2022-10-28 09:16:36 +00:00
Damodar Lohani
07a2aed52f fix formatting 2022-10-28 09:00:59 +00:00
Christy Jacob
269266127d feat: update db library 2022-10-28 14:30:31 +05:30
Damodar Lohani
4acd10f2e1 error logger in resources 2022-10-28 08:56:45 +00:00
Damodar Lohani
e7a7267c9f move resource code inside the callback 2022-10-28 08:49:05 +00:00
Damodar Lohani
a0a0ef2386 update docblock comments and naming 2022-10-28 08:40:04 +00:00
Damodar Lohani
95f1681b6c Merge remote-tracking branch 'origin/master' into feat-refactor-tasks 2022-10-28 08:12:13 +00:00
Damodar Lohani
30a541a5c9 dependency injection in usage task 2022-10-28 04:09:34 +00:00
Damodar Lohani
f080bd3e68 using dependency injection in CLI 2022-10-28 03:36:20 +00:00
Rhythm Bansal
572e5d5f93
Update hi.json 2022-10-27 14:49:58 +05:30
Rhythm Bansal
569c5644fa
Update hi.json 2022-10-27 14:43:59 +05:30
Rhythm Bansal
b5a61d949b
fixed grammatical and spelling errors 2022-10-27 14:42:08 +05:30
fogelito
a5e67db604 fulltext 2022-10-26 23:12:46 +03:00
fogelito
8e8801b11c adapter change 2022-10-26 23:05:25 +03:00
fogelito
08e44f0656 some changes 2022-10-26 22:14:39 +03:00
Christy Jacob
c2be54ca7f
Revert "Fix usage on DB Pools" 2022-10-26 21:32:40 +05:30
Christy Jacob
3a857bb16e Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-usage-fix 2022-10-26 15:42:55 +00:00
Torsten Dittmann
32f2333ab6 test: mysql adapter 2022-10-26 16:38:40 +02:00
Steven Nguyen
719aa67afa
Remove PDO rethrow
The PDOException was rethrown in general.php so that it could be caught
in the catch block of http.php. However, [a change in
utopia-php/framework](9d37326851)
caused the exception to be masked as an Exception rather than the
underlying PDOException. As such, the `$th instanceof PDOException` in
http.php is always false and `$db = null` is never executed. Since these
snippets of code aren't doing anything or adding value, they should be
removed.

In addition, the `$db = null` may have been added to ensure the
connection was added back to the pool and/or reset if needed, but it
seems like that's not a problem anymore.
2022-10-25 10:05:52 -07:00
Christy Jacob
2d6a00e56f Merge branch 'feat-mysql-test' of github.com:appwrite/appwrite into feat-db-pools 2022-10-25 19:26:23 +05:30
Christy Jacob
503bd53a47 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-mysql-test 2022-10-25 13:48:59 +00:00
Christy Jacob
ca602199da feat: update mysql changes 2022-10-25 13:42:30 +00:00
Damodar Lohani
4dc6e2fb6a use register to reclaim 2022-10-24 02:33:19 +00:00
Damodar Lohani
70afd1efed pool reclaim 2022-10-24 01:34:12 +00:00
Damodar Lohani
adf3f74ef2 refill pools on exception 2022-10-23 08:19:10 +00:00
Damodar Lohani
c8b5301267 update maintenance to delete only hourly metrics older than 3 months 2022-10-23 07:29:13 +00:00
Damodar Lohani
bde7fe21c4 remove unused param 2022-10-23 07:03:50 +00:00
Damodar Lohani
8048d24857 deprecate database aggregation 2022-10-23 05:17:50 +00:00
Damodar Lohani
3ed3ef9d71 rename variable 2022-10-23 04:46:23 +00:00
Damodar Lohani
ff6c6003fc get project db for CLI 2022-10-22 03:08:28 +00:00
Damodar Lohani
a385b01d4a using project db properly 2022-10-22 02:25:22 +00:00
Vincent (Wen Yu) Ge
9a1f54baf1
Merge branch 'master' into doc-unique-id 2022-10-21 17:43:52 -04:00
Damodar Lohani
03f8e20dfd Merge remote-tracking branch 'origin/master' into feat-usage-refactor 2022-10-21 06:27:03 +00:00
Damodar Lohani
dfa35e0a0b fix periods on usage endpoints 2022-10-21 05:45:25 +00:00
Eldad Fux
27c4e24fa5 Unused classes 2022-10-21 08:41:17 +03:00
Eldad Fux
54469e9b4d Unused classes 2022-10-21 08:41:12 +03:00
Damodar Lohani
d35b438255 fix collection and document counts 2022-10-21 01:50:03 +00:00
Damodar Lohani
a7e1e5f25f fix period 2022-10-21 01:40:33 +00:00
fogelito
1b776f7fdc some changes 2022-10-20 23:59:00 +03:00
Eldad Fux
e113253e35 Fixed tests 2022-10-19 17:13:38 +03:00
Eldad Fux
e5c62c6730 Fixed usage of DSN database 2022-10-19 16:55:58 +03:00
Eldad Fux
a1157fb49b Env vars clean ups 2022-10-19 15:59:13 +03:00
Eldad Fux
58ef860959 Merge branch 'feat-db-pools-eldad' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-19 15:41:42 +03:00
Eldad Fux
159fd5fc59 Change URLURL to AppwriteURL 2022-10-19 15:41:38 +03:00
Christy Jacob
41b420d313 Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-19 10:00:56 +00:00
Christy Jacob
584ec3160a Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-10-19 09:52:52 +00:00
Eldad Fux
d51c379514 Fixed linter errors 2022-10-19 11:35:30 +03:00
Eldad A. Fux
61d6b435b3
Merge pull request #4530 from appwrite/feat-bump-api-specs
Update API specs
2022-10-19 09:28:13 +03:00
Steven Nguyen
080116cff8 Update API specs 2022-10-18 21:05:54 +00:00
Eldad Fux
4fe5c0dd1d Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-18 17:29:21 +03:00
Christy Jacob
6bfb76b620 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-10-18 07:57:34 +00:00
Damodar Lohani
868e487a59 fix bucket collection name 2022-10-18 07:52:41 +00:00
Damodar Lohani
e7c82a28dd more fixes 2022-10-18 07:09:11 +00:00
Damodar Lohani
305dafe2ad update missing stats 2022-10-18 06:53:17 +00:00
Eldad Fux
d5fafe0ffc Fixed realtime tests 2022-10-17 20:37:28 +03:00
Eldad Fux
52d44f0599 Updated Realtime server 2022-10-17 20:26:21 +03:00
Eldad Fux
1632ae61eb Fixing CLI tasks 2022-10-17 19:43:51 +03:00
Eldad Fux
2e23721774 Fixed maintenance container 2022-10-17 15:46:56 +03:00
Eldad Fux
65e004f145 Fixed health API and add new test endpoints 2022-10-17 14:43:57 +03:00
Damodar Lohani
5b90c433ab fix collection id 2022-10-17 07:53:55 +00:00
Damodar Lohani
00d194d5d1 fix linters 2022-10-17 07:37:30 +00:00
Damodar Lohani
f3c183b563 listen to delete events 2022-10-17 07:10:18 +00:00
Damodar Lohani
f78cb09694 Merge remote-tracking branch 'origin/master' into feat-usage-refactor 2022-10-17 06:55:01 +00:00
Damodar Lohani
84f5842c81 document create listener 2022-10-17 06:52:24 +00:00
Damodar Lohani
432bb8666a Merge remote-tracking branch 'origin/master' into feat-refactor-tasks 2022-10-17 01:51:26 +00:00
Eldad Fux
f6449687b5 Create connections only on fill method 2022-10-17 01:49:53 +03:00
Eldad Fux
fe29e58f22 Fixed doctor health checks 2022-10-16 20:48:53 +03:00
Eldad Fux
fa0216cd6d Removed legacy connection push 2022-10-16 14:53:31 +03:00
Eldad Fux
f2068a10e4 Added support for cache sharding, and fallback connections 2022-10-16 14:42:00 +03:00
Eldad Fux
224d526c84 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-16 12:24:53 +03:00
Damodar Lohani
019fa11616 setup to use database listeners 2022-10-16 08:50:53 +00:00
Damodar Lohani
90e9e5e7fd
Update app/http.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-10-16 11:49:12 +05:45
Damodar Lohani
00973d4a14 add try catch 2022-10-16 05:58:25 +00:00
Eldad Fux
8437aa894d Removed unused imports 2022-10-16 01:51:11 +03:00
Eldad Fux
f15d476889 Fixed specification 2022-10-16 01:44:41 +03:00
Eldad Fux
13847fc155 Added verbose error log for dev mode 2022-10-16 01:44:03 +03:00
Eldad Fux
7484656be3 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-15 22:08:16 +03:00
Eldad Fux
d5849c39f3 Removed unused namespaces 2022-10-15 21:57:55 +03:00
Eldad Fux
95a9ded28f Adjusted compose files and tests 2022-10-15 21:17:03 +03:00
Eldad Fux
0506dbb30e Adapted HTTP API 2022-10-15 17:14:17 +03:00