[Core] Use core worker options to initialize (#10467)

* fix

* fix

* .
This commit is contained in:
kisuke95 authored and GitHub committed 2020-09-07 16:36:43 -07:00
1 parent 8db1f16f25
commit b7003839bd
9 files changed
+149 -216

No files matched your search

@@ -101,9 +101,9 @@ public class ChannelId {
| 8 bytes | 4bytes | 4bytes| 2bytes| 2bytes |
*/
Preconditions.checkArgument(fromTaskId < Short.MAX_VALUE,
"fromTaskId %d is larger than %d", fromTaskId, Short.MAX_VALUE);
"fromTaskId %s is larger than %s", fromTaskId, Short.MAX_VALUE);
Preconditions.checkArgument(toTaskId < Short.MAX_VALUE,
"toTaskId %d is larger than %d", fromTaskId, Short.MAX_VALUE);
"toTaskId %s is larger than %s", fromTaskId, Short.MAX_VALUE);
byte[] channelName = new byte[20];
for (int i = 11; i >= 8; i--) {