Commit Graph

824 Commits

Author SHA1 Message Date
Lucas Rouckhout
6f63758ab1 prefix instead of suffix routing key 2023-02-18 16:39:46 +01:00
Lucas Rouckhout
90929134cb Defer close the rabbitmq connection 2023-02-18 15:49:11 +01:00
Lucas Rouckhout
5758b39c0d Remove rabbit conn from service object 2023-02-18 15:47:05 +01:00
Lucas Rouckhout
9691ae2cfc Typo 2023-02-18 15:35:33 +01:00
Lucas Rouckhout
b5e925d5ca Increase default buffer size for invoice channels in pubsub 2023-02-18 15:30:33 +01:00
Lucas Rouckhout
277c44a42d Changed some comments 2023-02-18 15:27:38 +01:00
Lucas Rouckhout
118297d79f PubSUb now uses buffered channels 2023-02-18 15:25:46 +01:00
Lucas Rouckhout
4791251e77 Make channels buffered 2023-02-18 14:33:43 +01:00
Lucas Rouckhout
3e611a45ab Merge branch 'main' into feature/rabbitmq-publish 2023-02-18 09:20:55 +01:00
kiwiidb
e14c0af5ca Merge pull request #310 from getAlby/feature/db-pool-config
feature: add db pool config
2023-02-16 16:37:59 +01:00
kiwiidb
9af3e318c6 feature: add db pool config 2023-02-16 14:53:56 +01:00
kiwiidb
4dee1da2ae feature: add db pool config 2023-02-16 14:46:39 +01:00
Lucas Rouckhout
214b3c9308 Boy Scout Rule: Removing use of deprecated ioutil package 2023-02-06 18:30:45 +01:00
Lucas Rouckhout
9cb745132b Adding some comments and inlining the init of bufPool 2023-02-06 18:29:41 +01:00
Lucas Rouckhout
fb9d8562e7 Be specific in keytopic name 2023-02-04 17:07:41 +01:00
Lucas Rouckhout
2036b63bc0 Use sync.Pool as a pool of bytes.Buffer so as to lower mem allocations in publishInvoice function 2023-02-04 16:30:49 +01:00
Lucas Rouckhout
af83da6e95 change to localhost 2023-02-04 16:02:11 +01:00
Lucas Rouckhout
81693f9c80 Health checks for rabbitmq service 2023-02-04 15:58:30 +01:00
Lucas Rouckhout
e2a819c747 Oopsie poopsie forgot my local URI 2023-02-04 15:52:08 +01:00
Lucas Rouckhout
1b6d50a1db Check with github action 2023-02-04 15:49:14 +01:00
Lucas Rouckhout
6f7e7456a2 Actually start the suite 2023-02-04 15:05:57 +01:00
Lucas Rouckhout
fb932f00b8 WIP integration tests for rabbitmq 2023-02-04 15:00:27 +01:00
kiwiidb
3ebcd9cd1d clean up duplicated code 2023-02-04 14:47:55 +01:00
kiwiidb
32feb2c824 clean up duplicated code 2023-02-04 14:44:55 +01:00
Lucas Rouckhout
5280e7308a Initial working poc for publishing to rabbitmq 2023-02-04 13:03:41 +01:00
kiwiidb
7a01bf6d84 Merge pull request #291 from getAlby/feature/graceful-shutdown
Feature/graceful shutdown
2023-02-04 11:31:39 +01:00
kiwiidb
0b9f53af7f Merge pull request #293 from getAlby/chore/update-dependencies
update dependencies
2023-01-23 09:18:12 +01:00
kiwiidb
090d5ffa62 Merge pull request #292 from getAlby/fix/keysend-custom-records
move custom records workarounds up
2023-01-17 14:30:06 +01:00
kiwiidb
5679006215 update dependencies 2023-01-17 14:21:24 +01:00
kiwiidb
60524472c5 move custom records workarounds up 2023-01-17 14:08:20 +01:00
kiwiidb
08108c65b6 fix integration tests 2023-01-17 11:53:22 +01:00
kiwiidb
b7d4319428 lndhub: graceful shutdown 2023-01-17 11:12:04 +01:00
kiwiidb
9144117c32 add graceful shutdown context 2023-01-16 17:59:41 +01:00
kiwiidb
301b58b7a8 Merge pull request #280 from getAlby/feature/error-response-improvements
more accurate http status codes for keysend
2023-01-13 14:17:28 +01:00
kiwiidb
c654492233 Merge pull request #287 from getAlby/feature/tx_entry_constraint
add tx entry tuple constraint
2023-01-13 14:11:00 +01:00
kiwiidb
364b4e0ca4 specific constraint name 2023-01-13 14:10:06 +01:00
kiwiidb
704045895f Merge pull request #288 from getAlby/feature/atomic-failed-payment
atomic failed payment handling
2023-01-13 14:04:16 +01:00
kiwiidb
6dbbf1b63d atomic failed payment handling 2023-01-13 12:34:08 +01:00
kiwiidb
434eb95e7f add tx entry tuple constraint 2023-01-13 10:32:43 +01:00
kiwiidb
0a144cf5f9 Merge pull request #281 from getAlby/feature/zero-amount-invoices
allow 0 amount invoices in v2 api
2023-01-13 09:08:35 +01:00
kiwiidb
576f7e97eb 'we' added a unit test 2023-01-12 18:01:15 +01:00
kiwiidb
b70c49eba4 allow 0 amount invoices in v2 api 2023-01-09 15:34:37 +01:00
kiwiidb
8eff6c8e05 more accurate http status codes for keysend 2023-01-09 15:15:49 +01:00
kiwiidb
f6335907e2 Merge pull request #279 from getAlby/fix-sentry
Split sentry config as described in the docs
2023-01-09 09:46:41 +01:00
Michael Bumann
191e5a1d33 Split sentry config as described in the docs 2023-01-06 18:43:04 +01:00
kiwiidb
96303f1ec2 Merge pull request #277 from getAlby/fix/internal-payment-fetch
invoice: lookup more performant by hash
2023-01-06 11:44:09 +01:00
kiwiidb
229fb8a46f Merge branch 'main' into fix/internal-payment-fetch 2023-01-06 11:20:08 +01:00
kiwiidb
0251cd188d Merge pull request #275 from getAlby/fix/revert-pgdriver
Revert "Merge pull request #267 from getAlby/dependabot/go_modules/gi…
2023-01-06 11:19:26 +01:00
kiwiidb
88975eba29 invoice: lookup more performant by hash 2023-01-06 11:17:58 +01:00
kiwiidb
24accb8a60 Revert "Merge pull request #267 from getAlby/dependabot/go_modules/github.com/uptrace/bun/driver/pgdriver-1.1.9"
This reverts commit df3100022d, reversing
changes made to 82bf62ca82.
2023-01-06 10:30:48 +01:00