Comments (4)
I found that the same type job can set currency, but harbor is not set. Is it possible to limit the currency?
// Max currency of the job. Unlike the WorkerPool concurrency, it controls the limit on the number jobs of that type
// that can be active at one time by within a single redis instance.
//
// The default value is 0, which means "no limit on job concurrency".
MaxCurrency() uint
// Put into the pool
w.pool.JobWithOptions(
name,
work.JobOptions{
MaxFails: theJ.MaxFails(),
MaxConcurrency: theJ.MaxCurrency(),
Priority: job.Priority().For(name),
SkipDead: true,
},
// Use generic handler to handle as we do not accept context with this way.
func(job *work.Job) error {
return redisJob.Run(job)
},
)
// Job of running retention process
type Job struct{}
// MaxCurrency is implementation of same method in Interface.
func (pj *Job) MaxCurrency() uint {
return 0
}
from harbor.
since we did a lot of enhancements on harbor since v2.3, please try the same scenario on the latest release.
And v2.3 is out of support now.
from harbor.
since we did a lot of enhancements on harbor since v2.3, please try the same scenario on the latest release. And v2.3 is out of support now.
The latest version is v2.10.0。Are v2.10.0 and v2.3.1 compatible? Whether the api and pgsql data table have changed?Our componment rely on Harbor api。
from harbor.
from harbor.
Related Issues (20)
- Tag immutability of helm charts HOT 3
- Reuploading a deleted image fails with a 404 error HOT 1
- LDAP users cannot login to harbor site, TLS confidentiality required HOT 2
- Large Garbage Collections Slow and Can Easily Fail Indefinitely HOT 2
- Replication between two harbor fails (UNAUTHORIZED error) HOT 3
- I can not login to registery by self sign certificate HOT 3
- Docker login error: Error response from daemon: Get "https://harbor.com.vn/v2/": EOF HOT 7
- Getting unauthorized: unauthorized to access repository : HOT 1
- GC causes outage on production Harbor deployment HOT 2
- Label Replication Feature Available or Not ? HOT 4
- Misleasing info text on replication bandwidth limit
- Error response from daemon: Get "https://<harbor-url>/v2/" : x509: certificate signed by unknown authority HOT 1
- In clean up we have facing issue in harbor
- In job service dashboard we have facing issue. HOT 1
- Conformance test issue -- discovery test GET request to missing manifest should yield 200
- Conformance test issue -- Teardown Delete created manifest & associated tags
- Regarding Duplicate Repositories HOT 4
- Database 2.9 or newer is missing contrib package HOT 2
- Automatically logging in using docker cli results in "unauthorized" error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harbor.