mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-15 20:02:15 +01:00
process balancing: better implementation (wip)
This commit is contained in:
@@ -201,6 +201,16 @@ func (c Config) DefaultListenPort() int64 {
|
||||
return c.defaultListenPort
|
||||
}
|
||||
|
||||
func (c Config) GoogleChromeInstances() int64 {
|
||||
// TODO: replace DisableGoogleChrome
|
||||
return 2
|
||||
}
|
||||
|
||||
func (c Config) SofficeInstances() int64 {
|
||||
// TODO: replace DisableUnoconv
|
||||
return 2
|
||||
}
|
||||
|
||||
/*
|
||||
DisableGoogleChrome returns true if
|
||||
Google Chrome is disabled in the
|
||||
|
||||
Reference in New Issue
Block a user