Commit Graph

927 Commits

Author SHA1 Message Date
kiwiidb
db74659dd0 Merge pull request #364 from getAlby/fix/rate-limit-fixup
fix: improve rate limit handling
2023-05-23 13:44:34 +02:00
Michael Bumann
ce6746999a Remove debug log 2023-05-23 09:30:13 +02:00
Michael Bumann
330165d8af Set rate limit per user and fallback to IP if no user is available 2023-05-19 19:21:37 +02:00
René Aaron
13a6c82f5b fix: identify users by id (if available) 2023-05-19 19:04:12 +02:00
Michael Bumann
797fbf438f Unify rate limit settings
We always treat the rate limit settings as requests per second and not every second.
The default rate limit is set globally
additionally we set a strict rate limit for sending payments
2023-05-19 18:47:44 +02:00
René Aaron
6dad11c794 fix: udpate docs 2023-05-19 18:45:42 +02:00
kiwiidb
a6df81d49c trigger build 2023-05-08 16:23:06 +02:00
kiwiidb
9f3123aa3d Merge pull request #359 from getAlby/fix/db-lock
DB: remove NOWAIT
2023-05-08 15:55:37 +02:00
kiwiidb
413b0cfb0d remove debug 2023-05-08 09:20:54 +02:00
kiwiidb
22261a5c37 remove debug 2023-05-08 09:18:52 +02:00
kiwiidb
f7be3e5ce5 add migration 2023-05-08 09:16:33 +02:00
kiwiidb
4ab37875d0 Revert "remove nowait"
This reverts commit 140523eacf.
2023-05-08 09:16:02 +02:00
kiwiidb
140523eacf remove nowait 2023-05-08 09:15:47 +02:00
kiwiidb
0c354f6566 remove test again, not working 2023-05-08 09:13:40 +02:00
kiwiidb
2c653aa163 Merge pull request #360 from getAlby/fix/preimage-generation
Fix/preimage generation
2023-05-05 15:05:18 +02:00
kiwiidb
00a139680a fix test 2023-05-05 11:28:30 +02:00
kiwiidb
7d3e8df755 fix preimage generation 2023-05-05 11:27:49 +02:00
kiwiidb
7f7853605d add unit test to reproduce issue 2023-05-05 11:27:05 +02:00
kiwiidb
1b641e25e7 add db migration 2023-05-03 17:17:23 +02:00
kiwiidb
30419f68a7 debug db lock behaviour 2023-05-03 17:14:51 +02:00
kiwiidb
79b99c9aa4 Merge pull request #357 from getAlby/fix/dont-requeue
don't requeue on error
2023-05-02 16:05:43 +02:00
kiwiidb
e97fa41295 don't requeue on error 2023-05-02 15:59:43 +02:00
kiwiidb
099f63a6c2 Merge pull request #348 from getAlby/fix/rabbit-connection
prevent EOF loop
0.14.0
2023-04-13 15:53:16 +02:00
kiwiidb
e16794029b add sentry capture 2023-04-07 15:06:52 +02:00
kiwiidb
783fb4b71c prevent EOF loop 2023-04-07 15:04:47 +02:00
kiwiidb
c7f2d8558e Merge pull request #346 from getAlby/chore/remove-grpc
remove grpc server
2023-04-06 09:35:49 +02:00
kiwiidb
7016d567db Merge pull request #347 from getAlby/chore/remove-ws
remove ws
2023-04-06 09:35:35 +02:00
kiwiidb
6c2eaec2a8 remove ws 2023-04-05 15:52:41 +02:00
kiwiidb
9c625b37d6 remove grpc server 2023-04-05 15:48:31 +02:00
kiwiidb
76bfcdc207 remove grpc server 2023-04-05 15:45:30 +02:00
kiwiidb
9619af3ab8 Merge pull request #342 from getAlby/fix/default-consumer-name
Change default name for invoice consumer to lnd_invoice_consumer
2023-04-01 16:07:40 +02:00
Lucas Rouckhout
a55b2354e3 Change default name for invoice consumer to lnd_invoice_consumer 2023-04-01 16:06:02 +02:00
kiwiidb
7336b4f8fe Merge pull request #333 from getAlby/feature/rabbitmq-lnd
Use rabbitmq as the consumer for LND invoices instead of gRPC subscription
2023-04-01 15:37:04 +02:00
kiwiidb
e49008a49b remove docker compose 2023-04-01 15:20:31 +02:00
kiwiidb
940dc5ac09 already processed keysend -> no error 2023-04-01 15:15:18 +02:00
kiwiidb
2af71fe66b add rmq integration test 2023-04-01 14:52:21 +02:00
kiwiidb
6d7e871f33 fix test + refactor 2023-04-01 14:13:20 +02:00
Lucas Rouckhout
7d489c2ae9 WIP SAVE 2023-04-01 13:49:32 +02:00
Lucas Rouckhout
df0219edda Initial working version 2023-04-01 10:13:41 +02:00
Lucas Rouckhout
be66edfbbe Initial working version with a lot of closures 2023-03-05 10:16:45 +01:00
Lucas Rouckhout
dbe5ce83a3 WIP SACE 2023-03-04 17:52:03 +01:00
Lucas Rouckhout
bdd9431527 Merge pull request #332 from getAlby/feature/add-codecov
add codecov action
2023-03-04 13:46:42 +01:00
Lucas Rouckhout
7e906c746d Produce coverage 2023-03-04 13:41:53 +01:00
kiwiidb
6155591753 add codecov step 2023-03-04 13:26:57 +01:00
kiwiidb
112435d5e1 Merge pull request #324 from getAlby/task-logging-checks
feat: add checks and remove sentry logging
2023-02-27 08:45:37 +01:00
Adithya Vardhan
3918419d17 chore: add test for expired invoice 2023-02-25 20:50:06 +05:30
Adithya Vardhan
518641f5bb chore: add test for invalid destination 2023-02-25 20:42:32 +05:30
Adithya Vardhan
7c7a0f82ff chore: add error for invalid destination 2023-02-25 20:41:58 +05:30
kiwiidb
8b18e43dfa Merge pull request #327 from getAlby/feature/go1.20
Upgrade to go 1.20
2023-02-25 13:04:26 +01:00
Lucas Rouckhout
693d810a69 Upgrade alpine base image to 1.20 2023-02-25 12:25:13 +01:00