mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
limit max threads to 32
This commit is contained in:
parent
94c95d46cb
commit
a58652954f
|
@ -134,6 +134,11 @@ CLASS ZCL_ABAPGIT_SERIALIZE IMPLEMENTATION.
|
|||
|
||||
ASSERT gv_max_threads >= 1.
|
||||
|
||||
IF gv_max_threads > 32.
|
||||
* https://en.wikipedia.org/wiki/Amdahl%27s_law
|
||||
gv_max_threads = 32.
|
||||
ENDIF.
|
||||
|
||||
rv_threads = gv_max_threads.
|
||||
|
||||
ENDMETHOD.
|
||||
|
|
Loading…
Reference in New Issue
Block a user