Kay
f12b372af9
style: gofumpt and godot [skip changelog] ( #10081 )
2023-08-17 14:02:08 +02:00
Adin Schmahmann
1f37a1481b
go fmt
2022-05-03 14:09:38 -04:00
Fazlul Shahriar
cac753bb18
fix build on Plan 9
...
Fixes #7575
Fixes #7671
2020-09-23 22:27:01 -04:00
Dimitris Apostolou
1e437c7e97
Fix typos and cleanup
2020-04-20 22:00:01 +03:00
Dominic Della Valle
3c9039a00b
cmd: ipfs handle GUI environment on Windows
2020-03-12 16:15:23 -07:00
Steven Allen
4924b80e10
chore: fix linter nits
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-14 09:38:26 -07:00
Steven Allen
bff8326b97
ulimit: fix setting ulimit
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-13 14:52:24 -07:00
Steven Allen
c318e3472e
fix ulimit tests
...
Not sure why CI wasn't failing.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-05-10 23:20:04 -07:00
Steven Allen
ff85e38392
raise default fd limit to 8192
...
fixes #6247
Really, we need a global _resource_ manager service that can sum requests from
the datastore, libp2p, etc. for more file descriptors. However, we don't have
that.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-26 02:52:30 -07:00
Steven Allen
a0fe27816a
Revert "raise default fd limit to 8192"
2019-04-26 02:50:36 -07:00
Steven Allen
8ec386117b
raise default fd limit to 8192
...
fixes #6247
Really, we need a global _resource_ manager service that can sum requests from
the datastore, libp2p, etc. for more file descriptors. However, we don't have
that.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-04-25 23:16:55 -07:00
Steven Allen
e4afcb71e8
interrupt: fix send on closed
...
If we get a signal while shutting down, we could end up sending on a closed
channel.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-03-28 02:44:25 +00:00
Jakub Sztandera
42e191c017
gx: unrewrite
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-03-05 18:33:56 +01:00
Jakub Sztandera
28cf3de0f9
Update protobuf
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-02-18 20:46:22 +01:00
chenminjian
e7eded1ef6
fix: ulimit docs mistake
...
License: MIT
Signed-off-by: chenminjian <727180553@qq.com>
2019-01-05 21:27:17 +08:00
Łukasz Magiera
435a3da07f
main: move InterruptHandler to util
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-12-26 12:39:59 -08:00
Steven Allen
0d80fc54c3
gx: update go-log and sha256
...
fixes #5709
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-11-02 21:17:20 -07:00
Steven Allen
1e0d53fe3c
Merge pull request #5496 from rob-deutsch/fix/5495
...
fixed tests of raised fd limits
2018-09-25 05:05:20 +00:00
Steven Allen
dac058f8be
gx: update go-log go-ipld-cbor
...
(and friends)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-09-24 05:36:29 -07:00
rob-deutsch
8cca57244c
supressed fd util printing to output
...
Moved the fmt.Printf call from ManageFdLimit() to the calling code. ManageFdLimit() is called by tests and its annoying to have it output text
License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-24 20:35:06 +10:00
rob-deutsch
182507d0d1
fixed test of raised fd limits
...
Raising FD limits was erroring when the OS's max was at the maximum signed integer value. Switched the code to using uint64 instead of int64.
fixed #5495
License: MIT
Signed-off-by: Rob Deutsch <rdeutschob@gmail.com>
2018-09-24 20:35:02 +10:00
Steven Allen
594d95af5d
update gogo-protobuf
...
fixes #3214
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-08 18:56:13 -07:00
Steven Allen
3eba14aa24
gx update
...
Updates:
* go-kad-dht: Query performance improvements, DHT client fixes, validates
records on *local* put.
* go-libp2p-swarm/go-libp2p-transport: Timeout improvements.
* go-multiaddr-net: Exposes useful Conn methods (CloseWrite, CloseRead, etc.)
* go-log: fixes possible panic when enabling/disabling events.
* go-multiaddr: fixes possible panic when stringifying malformed multiaddrs,
adds support for consuming /p2p/ multiaddrs.
fixes #5113
unblocks #4895
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-26 17:11:33 -07:00
Steven Allen
85acad9a01
gx update go-log, sys, go-crypto
...
* go-log
* sys
* go-crypto
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-08 22:36:24 -07:00
Steven Allen
1e9e2f453c
update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
Łukasz Magiera
b290286dd7
misc: Fix a few typos
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:47:22 +02:00
Łukasz Magiera
ffcdb4eec9
fix type error in ulimit_test.go on FreeBSD
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-05 21:07:20 +01:00
Łukasz Magiera
d399cdfec9
disable some tests on windows
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-02-04 01:10:43 +01:00
Steven Allen
b2cbfd299c
gx: update go-log
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-31 21:54:22 -08:00
hoenirvili
f16ada6159
This patch contains more safe checking in syscall rlimit and unit tests
...
The soft limit is the value that the kernel enforces for the corresponding resource
The hard limit acts as a ceiling for the soft limit
an unprivileged process may only set its soft limit to a value
in the range from 0 up to the hard limit.
So in order to make the change in fds count without any error we should
inform the user to make the process have CAP_SYS_RESOURCE capability
in order to set the hard limit.
License: MIT
Signed-off-by: hoenirvili <hoenirvili@gmail.com>
2017-12-04 17:27:00 -05:00