Skip to content

Commit 2cdc10f

Browse files
committed
Append maxAwaitTimeMS as int64 instead of int32
1 parent bc5ce89 commit 2cdc10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_phongo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ int phongo_execute_command(mongoc_client_t *client, php_phongo_command_type_t ty
903903

904904
if (command->max_await_time_ms) {
905905
bson_append_bool(&initial_reply, "awaitData", -1, 1);
906-
bson_append_int32(&initial_reply, "maxAwaitTimeMS", -1, command->max_await_time_ms);
906+
bson_append_int64(&initial_reply, "maxAwaitTimeMS", -1, command->max_await_time_ms);
907907
bson_append_bool(&initial_reply, "tailable", -1, 1);
908908
}
909909

0 commit comments

Comments
 (0)