Disable onMessageCallback logging
Summary: Will post about this in more detail later but in short, this is taking up wayyyy too much space. Reviewed By: danielbuechele Differential Revision: D16543587 fbshipit-source-id: 8130a1a8378e5a6ffde669d651063ef92eb021c0
This commit is contained in:
committed by
Facebook Github Bot
parent
0609811224
commit
dd59daffa3
@@ -122,20 +122,9 @@ export default class Client extends EventEmitter {
|
||||
|
||||
this.responder = {
|
||||
fireAndForget: (payload: {data: string}) =>
|
||||
rIC(
|
||||
() => {
|
||||
const mark = 'onMessageCallback';
|
||||
performance.mark(mark);
|
||||
try {
|
||||
client.onMessage(payload.data);
|
||||
} finally {
|
||||
this.logger.trackTimeSince(mark);
|
||||
}
|
||||
},
|
||||
{
|
||||
timeout: 500,
|
||||
},
|
||||
),
|
||||
rIC(() => client.onMessage(payload.data), {
|
||||
timeout: 500,
|
||||
}),
|
||||
};
|
||||
|
||||
if (conn) {
|
||||
|
||||
Reference in New Issue
Block a user