Stockton, the California city with the nation's second-highest foreclosure rate, is facing a moment of decision on whether to become the biggest city to file for bankruptcy, as a deadline for talks between the city and its creditors approached late Monday.