13 Commits

Author SHA1 Message Date
djkazic
eab9d755b6 fix: comment punctuation and shutdown of ticker 2025-05-21 11:28:34 -04:00
Elle Mouton
90941dc033 multi: update btclog, lnd and lndclient deps
Update the deps so that structured logging is available in aperture.
2025-03-05 11:12:29 +02:00
Elle Mouton
c4aa21f487 tools+golangci: update linter 2025-02-27 15:19:27 +02:00
Oliver Gugger
f17b877806 multi: address linter issues 2023-06-15 14:11:09 +02:00
positiveblue
a9fb600044 config: support params for different database backends 2023-06-14 21:44:19 -07:00
ffranr
6e9bd0d784 lint: gocritic: silence append func warning 2023-01-27 12:41:17 +00:00
Elle Mouton
870a617657 multi: gc stale mailboxes
In this commit, we start a timer if a mailbox stream is completely
un-occupied (neither read or write stream is occupied). The timer
stopped if either of the streams are occupied and is reset if both
streams are unoccupied.
2022-09-29 11:27:35 +02:00
Elle Mouton
559d2b3b97 aperture: add NewConfig function
Add a NewConfig func so that all pointer variables in the config object
can be initialised so that we can avoid needing to do nil checks
everywhere.
2022-02-14 09:37:41 +00:00
Oliver Gugger
28e6b624cc hashmail_test: fix linter issues 2021-11-24 22:02:22 +01:00
Oliver Gugger
d1112e35df hashmail_test: fix race condition in test setup 2021-11-24 21:58:07 +01:00
Olaoluwa Osuntokun
abb13dc7c7 aperture: run gofmt 2021-11-24 13:38:03 -06:00
Oliver Gugger
7c7b1145eb hashmail_server: fix writes up to 2 MB
This commit adds the ability for a mailbox message to be up to 2MB in
size.
2021-11-24 17:32:47 +01:00
Oliver Gugger
8d37d8a3d9 hashmail_server: fix blocking reads
With this commit we fix a bug in the hashmail server that didn't return
a read stream properly if it was closed from the client side.

Co-authored-by: Elle Mouton <elle.mouton@gmail.com>
2021-11-24 17:32:47 +01:00