mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-01-07 08:56:54 +02:00
updated readme and the thumbGenSem limit
This commit is contained in:
parent
9436efb7fd
commit
fb78a39161
@ -7,7 +7,7 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://github.com/pocketbase/pocketbase/actions/workflows/release.yaml" target="_blank" rel="noopener"><img src="https://github.com/pocketbase/pocketbase/actions/workflows/release.yaml/badge.svg" alt="build" /></a>
|
<a href="https://github.com/pocketbase/pocketbase/actions/workflows/release.yaml" target="_blank" rel="noopener"><img src="https://github.com/pocketbase/pocketbase/actions/workflows/release.yaml/badge.svg" alt="build" /></a>
|
||||||
<a href="https://github.com/pocketbase/pocketbase/releases" target="_blank" rel="noopener"><img src="https://img.shields.io/github/release/pocketbase/pocketbase.svg" alt="Latest releases" /></a>
|
<a href="https://github.com/pocketbase/pocketbase/releases" target="_blank" rel="noopener"><img src="https://img.shields.io/github/release/pocketbase/pocketbase.svg" alt="Latest releases" /></a>
|
||||||
<a href="https://pkg.go.dev/github.com/pocketbase/pocketbase" target="_blank" rel="noopener"><img src="https://godoc.org/github.com/ganigeorgiev/fexpr?status.svg" alt="Go package documentation" /></a>
|
<a href="https://pkg.go.dev/github.com/pocketbase/pocketbase" target="_blank" rel="noopener"><img src="https://godoc.org/github.com/pocketbase/pocketbase?status.svg" alt="Go package documentation" /></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
[PocketBase](https://pocketbase.io) is an open source Go backend, consisting of:
|
[PocketBase](https://pocketbase.io) is an open source Go backend, consisting of:
|
||||||
@ -152,7 +152,3 @@ PocketBase has a [roadmap](https://github.com/orgs/pocketbase/projects/2) and I
|
|||||||
|
|
||||||
Don't get upset if I close your PR, even if it is well executed and tested. This doesn't mean that it will never be merged.
|
Don't get upset if I close your PR, even if it is well executed and tested. This doesn't mean that it will never be merged.
|
||||||
Later we can always refer to it and/or take pieces of your implementation when the time comes to work on the issue (don't worry you'll be credited in the release notes).
|
Later we can always refer to it and/or take pieces of your implementation when the time comes to work on the issue (don't worry you'll be credited in the release notes).
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> PocketBase was initially created to serve as a new backend for my other open source project - [Presentator](https://presentator.io) (see [#183](https://github.com/presentator/presentator/issues/183)),
|
|
||||||
> so all feature requests will be first aligned with what we need for Presentator v3.
|
|
||||||
|
@ -30,7 +30,7 @@ var defaultThumbSizes = []string{"100x100"}
|
|||||||
func bindFileApi(app core.App, rg *echo.Group) {
|
func bindFileApi(app core.App, rg *echo.Group) {
|
||||||
api := fileApi{
|
api := fileApi{
|
||||||
app: app,
|
app: app,
|
||||||
thumbGenSem: semaphore.NewWeighted(int64(runtime.NumCPU() + 1)), // the value is arbitrary chosen and may change in the future
|
thumbGenSem: semaphore.NewWeighted(int64(runtime.NumCPU() + 2)), // the value is arbitrary chosen and may change in the future
|
||||||
thumbGenPending: new(singleflight.Group),
|
thumbGenPending: new(singleflight.Group),
|
||||||
thumbGenMaxWait: 60 * time.Second,
|
thumbGenMaxWait: 60 * time.Second,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user