New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

github.com/jayalane/go-syscalls-timeout

Package Overview
Dependencies
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/jayalane/go-syscalls-timeout

Source
Go Modules
Version
v0.0.0-20240705213243-830c65b670f2
Version published
Created
Source

Sometimes Syscalls Get Stuck

When running a few hundred million os.Open or os.Lstat calls on a large NFS filer, some tiny percentage of them would never (at least in a few days) return, breaking my "is the work all done" logic.

This package wraps these calls in a form that has timeouts as well.

e.g.:

	import (
	   timeout "github.com/jayalane/go-syscalls-timeout"
	)

....

	des, err := timeout.ReadDir(".")

FAQs

Package last updated on 05 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts