mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-13 11:17:49 +00:00
485c323608
The strategy of duping file descriptors is inadequate. The copies share identical offsets. Fix this by reading the file once into memory, and using BytesIO to fake a file. This is relatively memory intensive in theory, but in practice pyghmi library had been duping everything to memory anyway, so it is a wash for now.