This commit is contained in:
Rustem Kamalov
2026-04-22 05:32:59 +03:00
parent 47b5ad3b09
commit 5d15335501
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
[![Go Reference](https://pkg.go.dev/badge/github/karust/openserp?style=for-the-badge)](https://pkg.go.dev/github.com/karust/openserp)
[![release](https://img.shields.io/github/release/karust/openserp)](https://github.com/karust/openserp/releases)
[![Docker Pulls](https://img.shields.io/docker/v/karust/openserp)](https://hub.docker.com/repository/docker/karust/openserp)
[![CI](https://github.com/karust/openserp/actions/workflows/ci.yml/badge.svg?branch=tests)](https://github.com/karust/openserp/actions/workflows/ci.yml)
[![CI](https://github.com/karust/openserp/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/karust/openserp/actions/workflows/ci.yml)
**OpenSERP** is an API and CLI for accessing search engine results from **Google, Yandex, Baidu, Bing, and DuckDuckGo**.
A developer-friendly alternative to paid SERP API services!

View File

@@ -365,7 +365,7 @@ func ClosePageWithTimeout(ctx context.Context, page *rod.Page, timeout time.Dura
// RecoverEnginePanic converts recovered panics to a typed engine error and
// logs stack trace with engine context.
func RecoverEnginePanic(engine string, recovered interface{}, logger *EngineLogger) error {
return RecoverEnginePanicWithContext(nil, engine, recovered, logger)
return RecoverEnginePanicWithContext(context.TODO(), engine, recovered, logger)
}
func RecoverEnginePanicWithContext(ctx context.Context, engine string, recovered interface{}, logger *EngineLogger) error {

View File

@@ -352,7 +352,7 @@ func NewProxyRegistry(entries []ProxyEntryConfig, failureThreshold int) (*ProxyR
}
func (r *ProxyRegistry) NextByTag(tag string) string {
return r.NextByTagWithContext(nil, tag)
return r.NextByTagWithContext(context.TODO(), tag)
}
func (r *ProxyRegistry) NextByTagWithContext(ctx context.Context, tag string) string {