If lawmakers don’t come to an agreement on funding before the midnight deadline, the effect could be felt immediately.