Discover Packages
github.com/iamolegga/thro
command
module
Version:
v0.0.0-...-ab88f9b
Opens a new window with list of versions in this module.
Published: Aug 19, 2021
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
thro
thro
is a cli app that throttles passed command when the same command with the same args is already running.
Main purpose is to use it for throttling apps with long duration that can be called frequently, example:
#!/bin/sh
while true
do
inotifywait -e modify -e create -e delete -e attrib -r /myfolder/
./thro rclone -v sync /myfolder/ myprovider:/myfolder/ &
done
In this example several parallel calls will be throttled to one subcommand call and only one more deferred subcommand
call when the first one will be finished
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
test
Click to show internal directories.
Click to hide internal directories.