Although I’ve written a book for Packt and not O’Reilly, my experience is pretty similar to yours. But my timelines where more strict — 5 months for 250 pages, as a sole author.
The day I completed it, I was immediately proposed to start a second one. I refused.