|
From: | Artem Semenov |
Subject: | Re: Restarting spd to load new modules |
Date: | Thu, 19 Dec 2024 19:10:25 +0300 |
User-agent: | Mozilla Thunderbird |
19.12.2024 13:47, Samuel Thibault пишет:
Hello, Artem Semenov, le jeu. 19 déc. 2024 13:35:31 +0300, a ecrit:We would like to implement the uploading of module changes immediatelya fter their installation from the package repository.I thought this was already in the TODO list but I didn't find it, now added: https://github.com/brailcom/speechd/issues/980it is usually enough to restartthe SPD service to add them, but if the SPD has clients, for example Orca, then either the reboot is not performed or new modules are not added.Ah? Orca should re-connect and re-get the list of modules when spd restarts. That's to be done on the Orca side.
So faritworkslikethis: Experiment1: Orcais notrunning.1.Changingmodules.2.Restartthe spdservice.spd-say-Oindicatesthatthe setof moduleshas changed.
Experiment2: Orcais running.1.Changingmodules.2.Restartthe spdservice.spd-sai-Oindicatesthatthe setof moduleshas notchanged.
Fromthe secondexperiment, Iseethatspddoes notrestartifithasclientswithactiveconnections.
Experiment3: 1.Repeatexperiment2.2.Turn offOrca.3.Restartthe SPDservice. spd-say-Oindicatesthatthe setof moduleshas changed.
[Prev in Thread] | Current Thread | [Next in Thread] |