|
|
@@ -47,7 +47,7 @@ func NewNetClient(botNet types.ИБотСеть) *NetClient {
|
|
|
func (сам *NetClient) Get(strLink string) (lstString []string, err error) {
|
|
|
сам.block.Lock()
|
|
|
defer сам.block.Unlock()
|
|
|
- ctxCancel, fnCancel := context.WithTimeout(сам.botNet.Кнт(), time.Second*7)
|
|
|
+ ctxCancel, fnCancel := context.WithTimeout(сам.botNet.Кнт(), time.Second*10)
|
|
|
defer fnCancel()
|
|
|
defer func() { // Возможный перехват паники
|
|
|
if _panic := recover(); _panic != nil {
|