mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 07:12:27 +00:00
wip
This commit is contained in:
parent
d96ada4edc
commit
2597ac5c25
@ -138,18 +138,6 @@ func (s *indexHandler) Serve(ctx context.Context) (err error) {
|
||||
close(stop)
|
||||
}()
|
||||
|
||||
// ctx, cancel := context.WithCancel(ctx)
|
||||
|
||||
// Cancel the context when the connection closes
|
||||
// go func() {
|
||||
// select {
|
||||
// case <-s.conn.Closed():
|
||||
// cancel()
|
||||
// case <-ctx.Done():
|
||||
// case <-stop:
|
||||
// }
|
||||
// }()
|
||||
|
||||
// Broadcast the pause cond when the context quits
|
||||
go func() {
|
||||
select {
|
||||
|
@ -64,7 +64,7 @@
|
||||
<maxRequestKiB>0</maxRequestKiB>
|
||||
<untrusted>false</untrusted>
|
||||
<remoteGUIPort>0</remoteGUIPort>
|
||||
<multipleConnections>32</multipleConnections>
|
||||
<multipleConnections>4</multipleConnections>
|
||||
</device>
|
||||
<gui enabled="true" tls="false" debugging="true">
|
||||
<address>127.0.0.1:8081</address>
|
||||
|
@ -53,7 +53,7 @@
|
||||
<maxRequestKiB>0</maxRequestKiB>
|
||||
<untrusted>false</untrusted>
|
||||
<remoteGUIPort>0</remoteGUIPort>
|
||||
<multipleConnections>32</multipleConnections>
|
||||
<multipleConnections>4</multipleConnections>
|
||||
</device>
|
||||
<device id="MRIW7OK-NETT3M4-N6SBWME-N25O76W-YJKVXPH-FUMQJ3S-P57B74J-GBITBAC" name="s2" compression="metadata" introducer="false" skipIntroductionRemovals="false" introducedBy="">
|
||||
<address>tcp://127.0.0.1:22002</address>
|
||||
|
Loading…
Reference in New Issue
Block a user