зеркало из https://github.com/mozilla/glean.git
Bug 1632645 - Explicitly note caveat about pyinstaller (#843)
* Bug 1632645 - Explicitly note caveat about pyinstaller * Update docs/user/adding-glean-to-your-project.md Co-Authored-By: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Michael Droettboom <mdboom@gmail.com>
This commit is contained in:
Родитель
34803b0ed4
Коммит
ef58b499ba
|
@ -281,7 +281,7 @@ This handler will wait up to 1 second for any pending work to complete.
|
|||
|
||||
In addition, by default ping uploading is performed in a separate child process. This process will continue to upload any pending pings even after the main process shuts down.
|
||||
|
||||
Since the subprocess approach may not work in all contexts, there is an option to ensure that ping uploading occurs in the main process. To do this, set the `allow_multiprocessing` parameter on the `glean.Configuration` object to `False`.
|
||||
Note that this approach may not work with applications built using [`PyInstaller`](https://www.pyinstaller.org/) or similar tools which bundle an application together with a Python interpreter. For these cases (and any others which we haven't thought of), there is an option to ensure that ping uploading occurs in the main process. To do this, set the `allow_multiprocessing` parameter on the `glean.Configuration` object to `False`.
|
||||
</div>
|
||||
|
||||
{{#include ../tab_footer.md}}
|
||||
|
|
Загрузка…
Ссылка в новой задаче