Łukasz Magiera
4dd5886e3d
support external pc2 in lotus-worker
2023-11-14 15:22:23 +01:00
Phi-rjan
b1228b51ef
fix: worker: listen for interrupt signals in GetStorageMinerAPI loop ( #11309 )
...
- Added a goroutine to listen for interrupt signals, which will cancel the current context when an interrupt signal is received. This allows for graceful shutdown of ongoing operations.
2023-11-03 06:39:28 -07:00
Phi
f1c70720df
Handle both IPv4 and IPv6
...
use net.JoinHostPort(minerIP, minerPort) to handle both IPv4 and IPv6 addresses.
2023-09-25 14:38:59 +02:00
Phi
3f2d2eb659
Connect to newAddress
...
Connect to newAddress
2023-09-25 14:38:59 +02:00
Phi
f3da600b28
Make lint-happy
...
Make lint-happy
2023-08-30 11:32:20 +02:00
Phi
20fe979857
Check if DC_[SectorSize]_[ResourceRestriction] is set
...
Check if DC_[SectorSize]_[ResourceRestriction] is set and convert to DC_[ResourceRestriction] to make sure its enforced by the scheduler.
2023-08-30 11:14:13 +02:00
Phi
94e48ae860
Add IPv6 check and format appropriately
...
Add IPv6 check and format appropriately
2023-08-08 13:18:36 +02:00
Phi
c4798a604a
Make lint happy
...
Address the errcheck lint error by checking the return from conn.Close()
2023-08-08 12:49:04 +02:00
Phi
b6ba3b23bb
fix: worker: Support IPv6
...
Add support for IPv6 in MINER_API_INFO env.
2023-08-08 12:21:59 +02:00
Łukasz Magiera
3b4fa779ac
Merge pull request #10797 from filecoin-project/sealerFlagForDataCid3
...
feat: sealing: flag to run data_cid untied from addpiece
2023-05-09 16:26:00 +02:00
Andrew Jackson (Ajax)
313c701be6
nit: docs space
2023-05-08 15:39:47 -05:00
Andrew Jackson (Ajax)
30fae764ae
doc
2023-05-08 12:22:25 -05:00
Andrew Jackson (Ajax)
6a66a11e54
comment responses
2023-05-08 11:36:43 -05:00
Łukasz Magiera
3ff8a09183
feat: worker: Ensure tempdir exists ( #10433 )
2023-05-03 10:59:41 -04:00
Andrew Jackson (Ajax)
8c31ea1814
feat: sealing: data_cid flag untied from addpiece
2023-05-01 19:41:44 -05:00
Aayush
66fc6dc3e5
refactor: stop using deprecated io/ioutil
2023-03-29 15:40:49 -04:00
Phi
dd0c4a0a34
Tune down parallel reads
...
Tuning down the default post-parallel-reads to a conservative number.
2023-02-28 10:25:33 +01:00
Phi
f8195deb54
fix: cli: remove requirements
...
Remove the requirements from the `lotus-worker run` cli
2023-01-06 12:43:12 +01:00
Ian Davis
dfbf4d0f43
Bump http-server-timeout default to 30s
2022-11-29 14:38:44 +00:00
Ian Davis
0a4efd4820
Merge branch 'main' into id/update-go-version
2022-11-29 14:29:11 +00:00
Geoff Stuart
1f70ced8e5
Make http server timeouts configurable for cli commands
2022-11-25 17:32:42 -05:00
Geoff Stuart
d2b7c3889b
Add more timeouts
2022-11-25 16:24:09 -05:00
Łukasz Magiera
ea9a8303c8
sealing: tasks: TTReleaseUnsealed -> TTFinalizeUnsealed
2022-11-23 18:57:17 +01:00
Łukasz Magiera
87e5549af5
sealing: Split unsealed cleanup from Finalize
2022-11-23 18:57:16 +01:00
Łukasz Magiera
ec89424c42
make repo not depend on ffi
2022-11-08 09:37:43 +00:00
Łukasz Magiera
9c6d531ae7
sector import: Plumb sector download task canfig
2022-09-19 12:13:06 +02:00
Shrenuj Bansal
10dba44638
Add return value assignments
2022-08-10 17:43:54 -04:00
Shrenuj Bansal
f390c186e6
Close all storage paths on worker shutdown
2022-08-10 17:06:01 -04:00
Łukasz Magiera
cb2b4fa4aa
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 21:26:15 +02:00
Łukasz Magiera
ee08c15b8c
Merge branch 'f8-env-patch' of github.com:Factor8Solutions/lotus into feat/f8-worker-env
2022-08-05 09:46:06 +02:00
Łukasz Magiera
819314de46
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 09:01:30 +02:00
Łukasz Magiera
da33d82e1b
feat: sealer: Custom worker name config
2022-08-03 12:58:49 +02:00
Shrenuj Bansal
5f0ac7defb
Wait 20s for worker shutdown so the miner can unregister the worker
2022-08-02 10:59:32 -04:00
Łukasz Magiera
8cff52aef6
Storage detach/attach in lotus-miner, cli commands
2022-08-01 15:58:06 +02:00
Shrenuj Bansal
dfea74cca8
Add stop cmd for lotus worker
2022-07-29 18:33:30 -04:00
Patrick Deuse
66a7e32e58
added gpu proving lotus-worker env vars
2022-07-12 21:36:32 +08:00
Patrick Deuse
8a0b25cfc1
fix c+p typo
2022-07-12 21:35:11 +08:00
Patrick Deuse
67ef0b3af4
added lotus-worker run env vars
2022-07-12 21:33:32 +08:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
28099a3905
storage: Move storage/sealer/stores to storage/paths
2022-06-14 20:25:52 +02:00
Łukasz Magiera
a9600b8a6f
storage: Move extern/sector-storage to storage/sealer
2022-06-14 20:03:38 +02:00
Łukasz Magiera
1058e3bc41
fix: worker: don't check params with --no-default when not needed
2022-05-27 18:25:48 +02:00
Łukasz Magiera
7d7ecb5ec8
fix: post workers: check proving params on startup
2022-05-27 13:04:19 +02:00
Łukasz Magiera
abf8316eda
worker: Less confusing usage on --no-default
2022-05-23 18:53:48 +02:00
Łukasz Magiera
6b3bc8c9d2
feat: worker: lotus-worker run --no-default
2022-05-18 12:27:46 +02:00
Aayush Rajasekaran
7036636fcf
Merge pull request #8555 from filecoin-project/fix/worker-proofs-snapdeals
...
fix: worker: Download proofs if PRU2 is enabled
2022-05-03 15:08:19 -04:00
Łukasz Magiera
1aed631fe5
sealing: DataCid on workers
2022-04-26 20:36:23 +02:00
Rjan
a50a20b5a7
fix: worker: Download proofs if PRU2 is enabled
...
The lotus-worker does not check or download the params if Prove Replica Update tasks are enabled.
2022-04-26 09:10:38 +02:00
Łukasz Magiera
d95f24b9d2
config: Sane default parallel sector read defaults
2022-03-29 14:52:37 -04:00
Łukasz Magiera
5a42083abd
feat: worker: check fd limit on startup
2022-03-28 18:07:54 -04:00