MONGOC_TRANSAC...COMMIT_TIME_MS(3)
okay bestie, this is the MONGOC_TRANSAC...COMMIT_TIME_MS(3) page from libmongoc, and it’s giving “tiny setter function with a very long name” energy. No cap, it’s here to help you set the transaction’s max commit time. 💅
✨ SYNOPSIS ✨
void
mongoc_transaction_opts_set_max_commit_time_ms (mongoc_transaction_opt_t *opts,
int64_t max_commit_time_ms);
Configure the transaction’s max commit time, in milliseconds. Literally that. You hand it your transaction opts and the max commit time value, and it handles the setting. slay. 🫶
🎀 PARAMETERS 🎀
opts— amongoc_transaction_opt_t. This is the transaction options object you’re passing in.int64_t— the timeout forcommitTransaction, in milliseconds. (The original bullet labels itint64_t; the synopsis calls the actual parametermax_commit_time_ms, iykyk.) 🔥
👑 AUTHOR 👑
MongoDB, Inc — iconic behavior, honestly.
🌈 COPYRIGHT 🌈
Copyright 2009-present, MongoDB, Inc. Legal main character energy, protect it. 💖
and that’s the whole page, bestie — libmongoc source/version 2.5.6, date Oct 09, 202 as it shows up in the footer, mwah 🎀✨
📦 where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 · Apache-2.0 AND ISC AND MIT AND Zlib
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms