Commit graph

155 commits

Author SHA1 Message Date
Fabian Gruber
b410b17ba6 feat: redis-cluster support 2024-11-06 12:27:03 +01:00
Jake Barnby
8bc37026cd
Revert "Feat adding coroutines" 2024-10-08 20:54:40 +13:00
Binyamin Yawitz
d14edf4207
reverting: to set coroutines as head 2024-10-01 10:30:47 -04:00
Binyamin Yawitz
5512340cdd
Revert "Feat eldad4 coroutines" 2024-09-20 12:30:05 -04:00
Binyamin Yawitz
1217aee296
refactor: Connection pools 2024-07-04 15:04:36 -04:00
Binyamin Yawitz
a3682b72e1
Merge remote-tracking branch 'refs/remotes/origin/main' into feat-eldad4-coroutines
# Conflicts:
#	app/cli.php
#	app/console
#	app/controllers/api/projects.php
#	app/controllers/general.php
#	app/init.php
#	app/realtime.php
#	app/worker.php
#	composer.json
#	composer.lock
2024-07-03 17:03:24 -04:00
Binyamin Yawitz
757cf24d4d
feat: Adjusting health API to new pools 2024-06-06 20:52:51 -04:00
Binyamin Yawitz
b5a241db8d
merge: Main into Coroutines 2024-06-05 18:38:39 -04:00
Bradley Schofield
d4db55ab77 Fix failed queue param in failed jobs 2024-05-29 18:11:58 +09:00
Christy Jacob
10722aa736 chore: cleanup obsolete tasks and workers 2024-05-16 07:11:00 +00:00
Eldad Fux
3b70ae4d9f Fixed formatting 2024-04-22 07:56:36 +02:00
Eldad Fux
aff328c660 Fixed test 2024-04-22 07:51:24 +02:00
Matej Bačo
d091b37a15 Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x 2024-04-02 18:42:17 +02:00
Eldad Fux
5ce3de4933 Merge remote-tracking branch 'origin/main' into feat-eldad2-coroutines 2024-04-02 02:13:15 +02:00
Eldad Fux
beda5293b4 Fix format 2024-04-01 13:08:46 +02:00
Eldad Fux
8ed1da4ea8 Updated getEnv to use system lib 2024-04-01 13:02:47 +02:00
Matej Bačo
2a0a69f3ed Fix connections pool 2024-03-09 11:59:45 +01:00
Matej Bačo
db1674811f Finish fixing code QL warnings 2024-03-08 13:57:20 +01:00
Torsten Dittmann
b8b3a69a55 fix: specs 2024-03-08 10:28:25 +01:00
Torsten Dittmann
dfef0e732c sync: main -> 1.5.x 2024-03-07 17:16:39 +01:00
Matej Bačo
efeb898be1 Import fixes 2024-03-07 15:29:42 +01:00
shimon
dfac3d585a Merge branch 'main' of github.com:appwrite/appwrite into remove-cloud-scripts 2024-03-06 17:58:58 +01:00
Torsten Dittmann
b8b1d8629f fix: tests 2024-03-05 11:09:19 +01:00
Torsten Dittmann
a53e630536 Merge branch 'main' of https://github.com/appwrite/appwrite into sync-main-1.5.x-2 2024-03-05 10:31:51 +01:00
Christy Jacob
7ae09ba795
Revert "Revert "usage/usage-dump queue health endpoints"" 2024-02-25 13:42:28 +05:30
Khushboo Verma
141cdf4c82 Fix content-type of file 2024-02-23 20:10:25 +05:30
Christy Jacob
a8098831a3
Revert "usage/usage-dump queue health endpoints" 2024-02-22 12:21:48 +05:30
Christy Jacob
3f5e40ad46
Merge pull request #7591 from appwrite/feat-storage-health-check
Add storage health check
2024-02-22 12:16:10 +05:30
Jake Barnby
379c79dae9
Consistent naming for device resources 2024-02-21 03:10:51 +13:00
shimon
1577be9172 usage/usage-dump queue health endpoints 2024-02-19 21:36:14 +02:00
Khushboo Verma
e4a86d9777 Remove global function 2024-02-19 09:19:54 +05:30
Khushboo Verma
3b1233eaa9 Add deviceFunctions and deviceBuilds as well 2024-02-18 18:28:41 +05:30
Khushboo Verma
00db19257d Add health storage check 2024-02-15 11:57:24 +05:30
shimon
96317f0acb sync with main 2024-02-13 10:46:24 +02:00
Jake Barnby
37522ea66f
Merge branch '1.5.x' into fix-catch-exception 2024-02-13 12:47:36 +13:00
Jake Barnby
18f7168160
Merge main 2024-02-12 14:18:19 +13:00
Christy Jacob
ba4f708137
Apply suggestions from code review
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2024-02-08 23:26:43 +05:30
Christy Jacob
243ddd4b33
Merge pull request #7519 from appwrite/update-param-name
Update param name
2024-02-08 12:55:19 +05:30
Steven Nguyen
4ace8ed027
Replace catching \Exception with \Throwable
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:

} catch (\Exception $e) {
    $deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {

As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
Khushboo Verma
fb127270ce Add test for empty domain 2024-02-06 16:04:58 +05:30
Khushboo Verma
11ceeff5ca Add health certificate validity endpoint 2024-02-06 15:15:03 +05:30
Christy Jacob
3c7fae7843 chore: update param name 2024-01-30 08:10:13 +00:00
Christy Jacob
91e625cfc2 chore: linter 2024-01-26 18:04:06 +00:00
Bradley Schofield
126c3a38de Add threshold 2024-01-26 15:55:55 +00:00
Bradley Schofield
772d42cef8 Update health.php 2024-01-26 09:52:41 +00:00
Bradley Schofield
e2c05fea8c Update health.php 2024-01-26 09:42:21 +00:00
Bradley Schofield
73b1837d66 Remove HealthFailedJobs Model 2024-01-26 09:41:30 +00:00
Bradley Schofield
47af19dd17
Update app/controllers/api/health.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-01-25 10:21:52 +00:00
Bradley Schofield
867bc0281c Update health.php 2024-01-24 17:48:27 +00:00
Bradley Schofield
d3b8ce704e Add failed queue endpoint 2024-01-18 16:18:49 +00:00