fix: speed up get leader schedule (#12049)

This commit is contained in:
Justin Starry 2020-09-05 00:33:23 +08:00 committed by GitHub
parent 055ed72cd9
commit 24f551a9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ type LeaderSchedule = {
const GetLeaderScheduleResult = struct.record([
'string',
struct.array(['number']),
'any', // validating struct.array(['number']) is extremely slow
]);
/**