mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-01-04 13:35:25 +01:00
use a super high timeout
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"reflect"
|
||||
"time"
|
||||
|
||||
cln "github.com/fiatjaf/lightningd-gjson-rpc"
|
||||
"github.com/gofrs/uuid"
|
||||
@@ -37,7 +38,7 @@ func NewCLNClient(options CLNClientOptions) (*CLNClient, error) {
|
||||
handler: handler,
|
||||
client: &cln.Client{
|
||||
PaymentHandler: handler.Handle,
|
||||
//CallTimeout: 0,
|
||||
CallTimeout: 24 * 3600 * time.Second, //should be infinite actually
|
||||
//Path: "",
|
||||
//LightningDir: "",
|
||||
SparkURL: options.SparkUrl,
|
||||
|
||||
Reference in New Issue
Block a user