My son got very sick at 6 months, dropped weight, couldnt sleep, struggled to
keep food down.
He ate better when he slept well, and at that point, he only slept well when he was in his swing and Family Feud was on the TV.
There was a lot of late nights with Family Feud into the early AM, swinging the swing manually while the other parent swapped batteries for the 2nd time that month.
We all do what we have to do to to get the kid to sleep and eat.