mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-07-24 13:12:08 +00:00
more cleanup
This commit is contained in:
@@ -1292,7 +1292,7 @@ class CallSession extends Emitter {
|
||||
}
|
||||
else {
|
||||
const {queue, command} = resolution;
|
||||
const {span} = this.rootSpan.startChildSpan(`recv: ${command}`);
|
||||
const {span} = this.rootSpan.startChildSpan(`recv command: ${command}`);
|
||||
span.setAttributes({
|
||||
'async.request.queue': queue,
|
||||
});
|
||||
|
||||
+1
-1
@@ -49,7 +49,7 @@ class TaskConfig extends Task {
|
||||
/* reset recognizer and/or synthesizer to default values? */
|
||||
if (this.data.reset) {
|
||||
if (typeof this.data.reset === 'string') this.data.reset = [this.data.reset];
|
||||
phrase.push(`reset ${this.data.reset.join(',')}`);
|
||||
if (this.data.reset.length) phrase.push(`reset ${this.data.reset.join(',')}`);
|
||||
}
|
||||
else this.data.reset = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user