Commit Graph

28 Commits

Author SHA1 Message Date
Renovate Bot
3d44d278e8
Update actions/setup-go action to v2 2021-02-10 16:41:49 +00:00
91faacd26c
Merge pull request #1 from unistack-org/renovate/configure
Configure Renovate
2021-02-10 19:41:21 +03:00
Renovate Bot
9d289804ee
Add renovate.json 2021-02-08 23:12:40 +00:00
ef751e5266 fix logger
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-02 12:28:33 +03:00
523c99a9a6 use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-02 12:26:13 +03:00
Asim Aslam
44414a252f Update README.md 2020-09-20 17:12:31 +03:00
Asim Aslam
820afc49eb Update README.md 2020-09-20 17:12:31 +03:00
Asim Aslam
230acce007 v3 refactor (#1868)
* Move to v3

Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2020-09-20 17:12:31 +03:00
ben-toogood
0e55a08e22 registry/cache: add support for the domain option (#1722) 2020-09-20 17:12:31 +03:00
Ben Toogood
43fa6998f6 Add context options to the runtime 2020-09-20 17:12:31 +03:00
Asim Aslam
58cd0f660f move reg util to own package (#1523)
* move reg util to own package

* fix test

* fix broken static router
2020-09-20 17:12:31 +03:00
031e2fbfcb minimize allocations (#1472)
* server: minimize allocations on re-register

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server: stop old instance before Init()

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* client/grpc: fix allocations in protobuf marshal

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* codec/json: fix allocations in protobuf marshal

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* remove stop from init

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* codec/grpc: expose MaxMessageSize

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* codec: use buffer pool

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* metadata: minimize reallocations

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* util/wrapper: use metadata helper

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* registry/cache: move logs to debug level

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server: move logs to debug level

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server: cache service only when Advertise is ip addr

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* server: use metadata.Copy

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-20 17:12:31 +03:00
d7aec2236e minimize allocations in logger and tunnel code (#1323)
* logs alloc

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* fix allocs

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* fix allocs

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* tunnel allocs

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* try to fix tunnel

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* cache cipher for send

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* more logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* more logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* more logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* more logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* more logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* more logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* more logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-20 17:12:31 +03:00
1205227bd3 prune util/log and user logger (#1237)
* prune util/log and user logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* plaintext logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* add newline

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-20 17:12:31 +03:00
cc396d7ce7 fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-20 17:12:31 +03:00
Asim Aslam
e1994ce661 Remove go routines for mdns watcher and cache registry (#919) 2020-09-20 17:12:31 +03:00
yandd
537ce0a258 fix rcache ttl 2020-09-20 17:12:31 +03:00
Asim Aslam
fb2dee4967 rcache becomes cache 2020-09-20 17:12:31 +03:00
Milos Gajdos
dc16a6b737 heck cache status error 2020-09-20 17:12:31 +03:00
Asim Aslam
dfd93346a9 Fix race in cache 2020-09-20 17:12:31 +03:00
Asim Aslam
388ee7232c fix major deadlock in registry cache 2020-09-20 17:12:31 +03:00
Asim Aslam
c314c0662d Rename rcache file to cache 2020-09-20 17:12:31 +03:00
Asim Aslam
88dba1f50d Preserve cache in the face of failure 2020-09-20 17:12:31 +03:00
Asim Aslam
e2218c7819 Stop a goroutine leak in registy 2020-09-20 17:12:31 +03:00
Asim Aslam
926aba3801 Update registry util semantics 2020-09-20 17:12:31 +03:00
0a0bb33007 export registry util function to safe copy registry data
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-20 17:12:31 +03:00
Asim Aslam
0fa4ce20e5 Change go-log links 2020-09-20 17:12:31 +03:00
Asim Aslam
b53d4e4003 Add rcache => cache 2020-09-20 17:12:31 +03:00