taskit icon indicating copy to clipboard operation
taskit copied to clipboard

TKTService: extract serviceManager slot?

Open tinchodias opened this issue 5 years ago • 1 comments

There is TKTConfiguration serviceManager in the methods kill, start and stop, and an additional occurrence in TKTWatchDog.

I guess we can introduce a serviceManagerslot which brings the feature of allowing setting a different service manager than the global.

tinchodias avatar Apr 21 '20 21:04 tinchodias

I looked at the references to TKTConfiguration from several classes in Taskit (41 occurrences in the default group that I loaded, such as TKTWorker, TKTFuture, TKTTask). I think that it may be a better idea to create a 'configuration' slot to replace the global reference in those classes. Does it make sense?

tinchodias avatar Apr 21 '20 22:04 tinchodias