Let $f: \mathbb R \to \mathbb R$ be a nonnegative measurable function, and $\{q_n\}$ some enumeration of the rational numbers. Suppose for every $0 < r < 1$ it holds that
$$\sum_{n = 0}^\infty r^n f(x + q_n)$$
converges for almost every $x \in \mathbb R$.
Question: Does this imply that for every compact set $K$ of $\mathbb R$, that $\text{esssup}_K f < \infty$?