storj/cmd/gateway
JT Olio 2c6fa3c5f8
pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335)
libuplink was incorrectly setting timeouts to 10 seconds still, but
should have been at least 10 minutes. the order sender was setting them
to 1 hour. we don't want timeouts in uplink-side logic as it establishes
a minimum rate on tcp streams.

instead of all of this, just use tcp keep alive. tcp keep alive packets are
sent every 15 seconds and if the peer stops responding the connection
dies. this is enabled by default with go. this will kill tcp connections
when they stop working.

Change-Id: I3d7ad49f71950b3eb43044eedf4b17993116045b
2019-10-22 17:57:24 -06:00
..
Dockerfile Rework gateway container image to build like the rest (#2230) 2019-06-18 10:29:22 -04:00
entrypoint Remove PointerDB client (#1520) 2019-03-22 11:01:49 +02:00
main.go pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335) 2019-10-22 17:57:24 -06:00
README.md Bd/doc text2 (#1973) 2019-05-16 15:04:06 +02:00

Gateway

Documentation for developing and building the gateway service

Usage:

First make an identity:

go install storj.io/storj/cmd/gateway
gateway setup

You can edit ~/.local/share/storj/gateway/config.yaml to your liking. Then run it!

gateway run